42 lines
748 B
Nginx Configuration File
42 lines
748 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 /image-api/ {
|
|
proxy_pass http://host.docker.internal:3000/;
|
|
}
|
|
|
|
location /agent-api/ {
|
|
proxy_pass http://host.docker.internal:8000/;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|