Feat: Local prod proxy

This commit is contained in:
MangoPig
2026-06-15 05:09:13 +01:00
parent ddd25b6eb3
commit 354dbc849b
12 changed files with 197 additions and 23 deletions

23
Proxy/Local/default.conf Normal file
View File

@@ -0,0 +1,23 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location /favicon.ico {
try_files $uri =404;
access_log off;
log_not_found off;
}
location /_build/ {
access_log off;
add_header Cache-Control "public, max-age=31536000, immutable";
try_files $uri =404;
}
}