From 8afe83ea4f6f5bae47300ba2563d15097eee89e9 Mon Sep 17 00:00:00 2001 From: Harsh Khandeparkar Date: Tue, 13 Feb 2024 20:29:16 +0530 Subject: [PATCH] fix: added required nginx fields --- nginx.conf | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) 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