26 lines
404 B
Nginx Configuration File
26 lines
404 B
Nginx Configuration File
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
index index.html;
|
|
|
|
server_name _;
|
|
|
|
#location /admin-service/ {
|
|
#proxy_pass http://admin-service:8080/;
|
|
#}
|
|
|
|
location /home-service/ {
|
|
proxy_pass http://home-service:8081/;
|
|
}
|
|
|
|
#location /blog-service/ {
|
|
#proxy_pass http://blog-service:8082/;
|
|
#}
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
} |