Dockerfile

This commit is contained in:
2026-02-14 20:16:34 -08:00
parent d9087499b9
commit ebb208fbde
6 changed files with 136 additions and 1 deletions

22
dist/default.conf vendored Normal file
View File

@@ -0,0 +1,22 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location = /api {
return 307 /api/;
}
location /api/ {
proxy_pass http://server:8787/;
proxy_http_version 1.1;
proxy_set_header Host $host;
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;
}
}