26 lines
705 B
Plaintext
26 lines
705 B
Plaintext
server {
|
|
listen 8005 ssl http2;
|
|
listen [::]:8005 ssl http2;
|
|
|
|
access_log /var/log/nginx/crisiscleanup.access.log;
|
|
error_log /var/log/nginx/crisiscleanup.error.log;
|
|
|
|
root /srv/crisiscleanup/public;
|
|
try_files $uri/index.html $uri @app;
|
|
|
|
location @app {
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header Proxy "";
|
|
proxy_redirect off;
|
|
proxy_buffering off;
|
|
proxy_read_timeout 90;
|
|
proxy_connect_timeout 90;
|
|
proxy_pass http://127.0.0.1:3000;
|
|
}
|
|
|
|
error_page 404 /404.html;
|
|
error_page 500 502 503 504 /500.html;
|
|
}
|