Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user www-data;
- worker_processes 8;
- pid /run/nginx.pid;
- events {
- worker_connections 1024;
- multi_accept on;
- }
- http {
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
- keepalive_timeout 30;
- types_hash_max_size 2048;
- reset_timedout_connection on;
- client_body_timeout 10;
- send_timeout 5;
- server_tokens off;
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
- access_log /var/log/nginx/access.log;
- error_log /var/log/nginx/error.log;
- gzip on;
- gzip_disable "msie6";
- include /etc/nginx/conf.d/*.conf;
- include /etc/nginx/sites-enabled/*;
- include /etc/nginx/vhosts/*/*.conf;
- server {
- server_name localhost;
- disable_symlinks if_not_owner;
- listen 80;
- include /etc/nginx/vhosts-includes/*.conf;
- location @fallback {
- error_log /dev/null crit;
- proxy_pass http://127.0.0.1:8080;
- proxy_redirect http://127.0.0.1:8080 /;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- access_log off ;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement