From 46e3984793810c9dc39f6dd86f6748c6a19693c3 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Mon, 3 Feb 2025 08:55:06 -0500 Subject: [PATCH] Update docker/nginx.conf --- docker/nginx.conf | 62 +++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index d4d9f6b..b285244 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -1,31 +1,31 @@ -worker_processes auto; -pid /var/run/nginx.pid; - -events { - worker_connections 1024; -} - -http { - include mime.types; - default_type application/octet-stream; - - gzip on; - gzip_proxied any; - gzip_types text/plain text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript application/json application/x-font-woff; - gzip_vary on; - gzip_disable "MSIE [1-6]\.(?!.*SV1)"; - - sendfile off; - keepalive_timeout 65; - - server { - listen 80; - index index.html; - root /usr/share/nginx/html; - autoindex off; - - location / { - try_files $uri$args $uri$args/ /index.html; - } - } -} +worker_processes auto; +pid /var/run/nginx.pid; + +events { + worker_connections 1024; +} + +http { + include mime.types; + default_type application/octet-stream; + + gzip on; + gzip_proxied any; + gzip_types text/plain text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript application/json application/x-font-woff; + gzip_vary on; + gzip_disable "MSIE [1-6]\.(?!.*SV1)"; + + sendfile off; + keepalive_timeout 65; + + server { + listen 80; + index index.html; + root /usr/share/nginx/html; + autoindex off; + + location / { + try_files $uri $uri/ /index.html; + } + } +}