Web3CV/boilerhaus.org.conf

49 lines
1.1 KiB
Plaintext

server {
listen 80;
listen [::]:80;
server_name boilerhaus.org www.boilerhaus.org;
root /var/www/boilerhaus.org;
index index.html;
location / {
try_files $uri $uri/ =404;
}
# Managed by Certbot
# This section will be updated by Certbot automatically
}
server {
listen 80;
listen [::]:80;
server_name cloud.boilerhaus.org;
# Managed by Certbot
# This section will be updated by Certbot automatically
# Proxy to Nextcloud (will be active after SSL is set up)
location / {
return 503; # Temporary unavailable until SSL is configured
}
}
server {
listen 80;
listen [::]:80;
server_name git.boilerhaus.org;
# Proxy to Gitea
location / {
proxy_pass http://localhost:3000;
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;
}
# Managed by Certbot
# This section will be updated by Certbot automatically
}
# SSL configurations will be added by Certbot automatically