27 lines
457 B
Nginx Configuration File
27 lines
457 B
Nginx Configuration File
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
index index.html;
|
|
|
|
server_name _;
|
|
|
|
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 /blog-api/ {
|
|
proxy_pass http://host.docker.internal:8082/;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
} |