mirror of
https://github.com/linuxserver/docker-budge.git
synced 2026-01-24 00:22:08 +08:00
26 lines
504 B
Plaintext
26 lines
504 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
|
|
listen 443 ssl;
|
|
|
|
root /app/budge/frontend/build;
|
|
index index.php index.html index.htm;
|
|
|
|
server_name _;
|
|
|
|
ssl_certificate /config/keys/cert.crt;
|
|
ssl_certificate_key /config/keys/cert.key;
|
|
|
|
client_max_body_size 0;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location /api/ {
|
|
rewrite /foo/(.*) /$1 break;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_pass http://localhost:5000/;
|
|
}
|
|
}
|