7 lines
258 B
Nginx Configuration File
7 lines
258 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
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; }
|
|
}
|