Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [emerg] 55#55: "server" directive is not allowed here in /etc/nginx/nginx.conf:1
- user www-data;
- worker_processes 4;
- pid /run/nginx.pid;
- events {
- worker_connections 768;
- }
- http {
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
- keepalive_timeout 65;
- types_hash_max_size 2048;
- server_tokens off;
- client_max_body_size 500M;
- 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/*;
- }
- sudo nginx -t
- /var/log/nginx/error.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement