Update docker/nginx.conf
All checks were successful
Build Website / Build NPM Project (push) Successful in 47s
Build Website / Tag Version (push) Successful in 27s
Build Website / Build & Push Dockerfile (push) Successful in 2m20s

This commit is contained in:
Zakary Timson 2025-02-03 08:54:09 -05:00
parent e7e7b857a9
commit 7fcec84e73

View File

@ -1,31 +1,31 @@
worker_processes auto; worker_processes auto;
pid /var/run/nginx.pid; pid /var/run/nginx.pid;
events { events {
worker_connections 1024; worker_connections 1024;
} }
http { http {
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
gzip on; gzip on;
gzip_proxied any; 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_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_vary on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)"; gzip_disable "MSIE [1-6]\.(?!.*SV1)";
sendfile off; sendfile off;
keepalive_timeout 65; keepalive_timeout 65;
server { server {
listen 80; listen 80;
index index.html; index index.html;
root /usr/share/nginx/html; root /usr/share/nginx/html;
autoindex off; autoindex off;
location / { location / {
try_files $uri$args $uri$args/ /index.html; try_files $uri $uri/ /index.html;
} }
} }
} }