diff --git a/nginx.conf b/nginx.conf index bc66e20..4af6598 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,4 +1,3 @@ -user nginx; worker_processes auto; error_log /var/log/nginx/error.log notice; @@ -28,6 +27,10 @@ http { gzip on; server { + listen 80; + listen [::]:80; + server_name localhost; + location ~* \.(png|ico|jpg|ttf|webp|css|js|woff2)$ { access_log off; expires max; @@ -41,5 +44,5 @@ http { index index.html; } - include /etc/nginx/conf.d/*.conf; + #include /etc/nginx/conf.d/*.conf; }