One of our users has the amazing photoprism installed (without docker) and wants to reverse proxy their domain name to it. This is what photoprism recommends for that as nginx config; Code: http { server { listen 443 ssl; listen [::]:443 ssl; server_name example.com; client_max_body_size 2400M; ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; proxy_pass http://localhost:2342; proxy_buffering off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; client_max_body_size 2400M; } } } As this is just a one-user case, I could create an include in the domain's nginx config and then put all the proxy info in an extra conf file which the include refers to, or is there a specific way to accomplish a reverse proxy app in ispconfig?
Create a website in ISPConfig and either use the proxy redirect setting of the site on the redirect tab. In case this does not work for this specific app, then disable proxy setting again and put the proxy directives into the nginx directives field of the website in ISPConfig instead.