fix: Merge branch 'main' of git.janis-eccarius.de:NowChess/NowChess-Frontend into feat/NCS-69

This commit is contained in:
shahdlala66
2026-05-12 22:18:09 +02:00
parent 7de4f3784b
commit 8eb27ba8b9
16 changed files with 537 additions and 35 deletions
+18 -12
View File
@@ -1,16 +1,22 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
listen 80;
server_name localhost;
location / {
try_files $uri $uri/ /index.html;
}
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location ~* \.(?:js|css|png|jpg|jpeg|gif|ico|svg|woff2?|ttf|eot)$ {
try_files $uri =404;
expires 1y;
add_header Cache-Control "public";
}
location /env.js {
root /usr/share/nginx/html;
default_type application/javascript;
expires -1;
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}