fusero-app-boilerplate/nginx/nginx.conf.dev

20 lines
482 B
Plaintext

server {
listen 80;
server_name _;
location ^~ /api/ {
proxy_pass http://fusero-app-backend:14000/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
}