diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 3d9e1ab..eb5ba5e 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -1,19 +1,18 @@ -server { - pid /tmp/nginx.pid; +pid /tmp/nginx.pid; - http { - client_body_temp_path /tmp/client_temp; - proxy_temp_path /tmp/proxy_temp_path; - fastcgi_temp_path /tmp/fastcgi_temp; - uwsgi_temp_path /tmp/uwsgi_temp; - scgi_temp_path /tmp/scgi_temp; +http { + client_body_temp_path /tmp/client_temp; + proxy_temp_path /tmp/proxy_temp_path; + fastcgi_temp_path /tmp/fastcgi_temp; + uwsgi_temp_path /tmp/uwsgi_temp; + scgi_temp_path /tmp/scgi_temp; + server { listen 8080;server_name localhost; location / { root /usr/share/nginx/html; index index.html; try_files $uri $uri/ /index.html; } - } } \ No newline at end of file