2020-03-17 16:52:36 +01:00
|
|
|
events {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
error_log /dev/stderr info;
|
|
|
|
error_log /dev/stderr warn;
|
|
|
|
error_log /dev/stderr error;
|
|
|
|
|
|
|
|
http {
|
|
|
|
client_max_body_size 20m;
|
|
|
|
|
|
|
|
upstream gonito {
|
|
|
|
server gonito:3000;
|
2020-03-26 21:50:37 +01:00
|
|
|
|
|
|
|
keepalive 100;
|
2020-03-17 16:52:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
2020-03-26 21:50:37 +01:00
|
|
|
server_name gonito;
|
2020-03-17 16:52:36 +01:00
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://gonito;
|
|
|
|
proxy_redirect off;
|
2020-03-26 21:50:37 +01:00
|
|
|
|
|
|
|
proxy_read_timeout 600;
|
|
|
|
proxy_connect_timeout 600;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Connection "";
|
2020-03-17 16:52:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
listen 443 ssl;
|
|
|
|
|
|
|
|
ssl_certificate /etc/certs/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/certs/privkey.pem;
|
|
|
|
}
|
|
|
|
}
|