diff --git a/nginx.conf b/nginx.conf index e244199..0dfc600 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,9 +1,20 @@ -server { - listen 7777; - root /srv/static; - autoindex off; +user www-data; +worker_processes 1; +pid /run/nginx.pid; - location / { - try_files $uri $uri/ =404; +events {} + +http { + include /etc/nginx/mime.types; + include /etc/nginx/conf.d/*.conf; + + server { + listen 7777; + root /srv/static; + autoindex off; + + location / { + try_files $uri $uri/ =404; + } } } \ No newline at end of file