Updating nginx config

This commit is contained in:
Tara Wilson 2025-02-20 20:54:54 -05:00
parent c4e0cfc5ce
commit 6df2b3d8de

View File

@ -1,13 +1,21 @@
events{} server {
http { listen 0.0.0.0:80;
include /etc/nginx/mime.types; listen [::]:80;
server { default_type application/octet-stream;
listen 80;
server_name localhost; gzip on;
gzip_comp_level 6;
gzip_vary on;
gzip_min_length 1000;
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_buffers 16 8k;
gunzip on;
client_max_body_size 256M;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html;
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html =404;
}
} }
} }