Add swarmpit

This commit is contained in:
schmelczerandras 2020-07-29 12:43:34 +02:00
parent 0d93c7a5bf
commit 84639669d6
9 changed files with 163 additions and 116 deletions

View file

@ -0,0 +1,17 @@
listen 443 ssl;
server_tokens off;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
ssl_certificate /etc/letsencrypt/live/decla.red/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/decla.red/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
location ~* ^/(502).html$ {
root /usr/share/nginx/html/errors;
internal;
}
error_page 502 /502.html;