Add Linux deployment installer, supervised services and readiness checks
This commit is contained in:
1 parent
203e765992
commit
ca4ab48fdc
15 files changed
+578
-4
No files matched your search
@@ -0,0 +1,29 @@
|
||||
# Replace domain and certificate paths. Install manually after nginx -t.
|
||||
# Root path on its own HTTPS hostname; upstream must remain loopback-only.
|
||||
server {
|
||||
listen 80;
|
||||
server_name buganalysis.example.org;
|
||||
return 308 https://buganalysis.example.org$request_uri;
|
||||
}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name buganalysis.example.org;
|
||||
ssl_certificate /etc/letsencrypt/live/buganalysis.example.org/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/buganalysis.example.org/privkey.pem;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
client_max_body_size 768m;
|
||||
client_body_timeout 120s;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_request_buffering off;
|
||||
proxy_read_timeout 180s;
|
||||
proxy_send_timeout 180s;
|
||||
proxy_cache off;
|
||||
proxy_no_cache 1;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user