This commit is contained in:
gs committed 2026-09-26 01:09:06 +08:00
1 parent dc23ea53ed
commit 8c7a9040d2
106 files changed
+5668 -9910

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://baby-tracker-server:9899/api/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {
try_files $uri $uri/ /index.html;
}
}