Spaces:
Running
Running
| worker_processes auto; | |
| pid /tmp/nginx.pid; | |
| error_log /dev/stderr notice; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include /etc/nginx/mime.types; | |
| default_type application/octet-stream; | |
| access_log /dev/stdout; | |
| sendfile on; | |
| client_body_temp_path /tmp/client_temp; | |
| proxy_temp_path /tmp/proxy_temp; | |
| fastcgi_temp_path /tmp/fastcgi_temp; | |
| uwsgi_temp_path /tmp/uwsgi_temp; | |
| scgi_temp_path /tmp/scgi_temp; | |
| server { | |
| listen 7860; | |
| server_name _; | |
| root /home/user/app; | |
| index index.html; | |
| add_header Cross-Origin-Embedder-Policy "require-corp" always; | |
| add_header Cross-Origin-Opener-Policy "same-origin" always; | |
| add_header Cross-Origin-Resource-Policy "cross-origin" always; | |
| location = /healthz { | |
| access_log off; | |
| default_type text/plain; | |
| return 200 "ok\n"; | |
| } | |
| location / { | |
| try_files $uri $uri/ /index.html; | |
| } | |
| } | |
| } | |