Files
sweet-hut-ui/nginx.conf
2026-02-03 23:16:19 +08:00

33 lines
574 B
Nginx Configuration File

server {
listen 80 default_server;
listen [::]:80 default_server;
root /usr/share/nginx/html;
index index.html;
server_name _;
client_max_body_size 500M;
location /sweet-hut/ {
alias /usr/share/nginx/html/;
try_files $uri $uri/ /sweet-hut/index.html;
}
location /home-api/ {
proxy_pass http://host.docker.internal:8081/;
}
location /alist-api/ {
proxy_pass http://host.docker.internal:5244/;
}
location /blog-api/ {
proxy_pass http://host.docker.internal:8082/;
}
location / {
try_files $uri $uri/ =404;
}
}