update: add all nginx config for each active services

This commit is contained in:
2026-07-15 14:11:44 +02:00
parent 7768703437
commit cd8396f763
18 changed files with 1038 additions and 72 deletions
+31
View File
@@ -0,0 +1,31 @@
server {
if ($host = auth.crenam.space) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name auth.crenam.space;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
server_name auth.crenam.space;
ssl_certificate /etc/letsencrypt/live/auth.crenam.space/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/auth.crenam.space/privkey.pem; # managed by Certbot
set $upstream http://192.168.27.69:9091;
location / {
include /etc/nginx/snippets/proxy.conf;
proxy_pass $upstream;
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
}
}