💥 add all the files

This commit is contained in:
2024-06-19 13:48:53 +01:00
commit 0ce409bcce
161 changed files with 3616 additions and 0 deletions
@@ -0,0 +1,40 @@
upstream portainer_backend {
server localhost:9000;
server 1.1.1.1 backup;
}
server {
server_name portainer.tryton.geeraert.eu www.portainer.tryton.geeraert.eu;
location / {
proxy_pass http://portainer_backend;
}
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/nginx/ssl/live/tryton.geeraert.eu/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/live/tryton.geeraert.eu/privkey.pem;
# managed by Certbot
# managed by Certbot
}
server {
if ($host = www.portainer.tryton.geeraert.eu) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = portainer.tryton.geeraert.eu) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name www.portainer.tryton.geeraert.eu portainer.tryton.geeraert.eu;
listen 80;
return 404; # managed by Certbot
}