Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.89 KB | None | 0 0
  1.  
  2. user  www-data;
  3. worker_processes  4;
  4.  
  5. error_log  /var/log/nginx/error.log debug;
  6. pid        /var/run/nginx.pid;
  7.  
  8. events {
  9.     worker_connections  1024;
  10.     multi_accept        on;
  11.     use                 epoll;    
  12. }
  13.  
  14. http {
  15.     include       /etc/nginx/mime.types;
  16.     default_type  application/octet-stream;
  17.  
  18.     log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
  19.                       '$status $body_bytes_sent "$http_referer" '
  20.                       '"$http_user_agent" "$http_x_forwarded_for"';
  21.  
  22.  
  23.     access_log  /var/log/nginx/access.log  main;
  24.  
  25.     sendfile        on;
  26.     tcp_nopush     on;
  27.     tcp_nodelay         on;
  28.     keepalive_timeout  65;
  29.     types_hash_max_size 2048;
  30.     server_tokens off;
  31.  
  32.   include /etc/nginx/conf.d/gateway.conf;
  33.   include /etc/nginx/conf.d/nextcloud.conf;
  34.   #include /etc/nginx/conf.d/nextcloud.conf.https;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement