feat: a lots of stuff and bugfixes mostly

This commit is contained in:
Albatroz Jeremias 2026-09-23 00:12:31 +01:00
parent 0289360eb6
commit a13235a7db
14 changed files with 468 additions and 62 deletions

View file

@ -0,0 +1,42 @@
server {
listen 80;
listen [::]:80;
server_name {{ cuyper__dns_domain }};
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
server_name {{ cuyper__dns_domain }};
ssl_certificate /etc/letsencrypt/live/{{ cuyper__dns_domain }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ cuyper__dns_domain }}/privkey.pem;
server_name {{ cuyper__dns_domain }};
access_log /var/log/nginx/{{ cuyper__dns_domain }}.access.log;
error_log /var/log/nginx/{{ cuyper__dns_domain }}.error.log;
location /hooks/ {
proxy_pass http://localhost:3000/;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
}
location /portainer/ {
proxy_pass http://portainer:9000/;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
}
}