chessh/front/nginx.conf

14 lines
244 B
Nginx Configuration File
Raw Normal View History

server {
listen 80;
location / {
root /usr/share/nginx/html/;
index index.html index.htm index.nginx-debian.html;
try_files $uri $uri/ /index.html;
}
2023-01-19 01:37:38 -05:00
location ~ ^/api(/.*|$) {
proxy_pass http://server:8080/$1;
}
}