Files
WiseGrade/frontend/nginx.conf
T

9 lines
312 B
Nginx Configuration File

server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location = /health { add_header Content-Type text/plain; return 200 'ok'; }
location /api/ { proxy_pass http://api:8000; proxy_set_header Host $host; client_max_body_size 1m; }
location / { try_files $uri /index.html; }
}