💥 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
+48
View File
@@ -0,0 +1,48 @@
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
upstream firefox_backend {
server 192.168.88.52:32487;
server 1.1.1.1 backup;
}
server {
server_name firefox.tryton.geeraert.eu www.firefox.tryton.geeraert.eu;
location / {
proxy_pass https://firefox_backend;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
}
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;
#include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
#ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = www.firefox.tryton.geeraert.eu) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = firefox.tryton.geeraert.eu) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name www.firefox.tryton.geeraert.eu firefox.tryton.geeraert.eu;
listen 80;
return 404; # managed by Certbot
}