9 lines
300 B
Nginx Configuration File
9 lines
300 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
client_max_body_size 16m;
|
|
location /api/ { proxy_pass http://backend:8080; proxy_read_timeout 115s; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; }
|
|
location / { try_files $uri $uri/ /index.html; }
|
|
}
|