Initial commit: Harry Potter Escape Adventure on bootle.dev.waiswuaschd.de

This commit is contained in:
Maxi
2026-09-22 16:26:48 +02:00
commit c5c0bad3e6
22 changed files with 2413 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
server {
listen 80;
listen [::]:80;
server_name bootle.dev.waiswuaschd.de;
location /.well-known/acme-challenge/ {
root /var/www/html;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
server_name bootle.dev.waiswuaschd.de;
ssl_certificate /etc/nginx/ssl/bootle.dev.waiswuaschd.de/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/bootle.dev.waiswuaschd.de/key.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
location /static/ {
alias /home/maxi/Projekt/bootle.waiswuaschd.de/app/static/;
expires 7d;
}
location / {
proxy_pass http://127.0.0.1:8002;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}