server { listen 80; listen [::]:80; server_name 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 } # Nextcloud configuration server { listen 80; listen [::]:80; server_name cloud.boilerhaus.org; # Proxy to Nextcloud location / { proxy_pass http://localhost:8080; 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 }