Hi, I have a fresh ISPConfig installation with NGINX on Ubuntu 22.04. I'm currently evaluating whether we'd be able to switch over from Plesk. I have a few apps running their own internal webserver, which I'd like to expose over NGINX acting as a reverse proxy. I created the website, enabled SSL, chose "proxy" on the redirect tab, entered the local address, and finally added a few required proxy directives on the "Options" tab. This is all working nicely for traffic on port 80, but as soon as I try to open the site via https, the default ISPConfig html-index is delivered. When I have a look at the NGINX server block file, I can see that its only listening to port 80. Example (without any actual content): deinteamtrikot.de.web.haarhoff.eu Unfortunately I cant post links as of writing this post. Is there something wrong with ISPConfig or am I just missing a step? Is it possible to edit the templates used for the reverse proxy? I had a look at the manual, which was unfortunately not helpful. Best Regards
I think I can answer my own question .. I did not enable LetsEncrypt, and did not specify a certificate manually. In that case the corresponding server block does not seem to get created.
You must not create an SSL cert manually when you want to use let's encrypt. So, when you want to use SSL with Let's encrypt, then all you have to do is to tick the checkboxes for SSL and Let's encrypt in website settings. If you do not want to use Let's encrypt but use a self-signed SSL cert instead or an SSL cert that you bought at an SSL authority, then you enable the SSL checkbox and create an SSL cert on the SSL tab. Just enabling SSL without any kind of SSL cert can not work of course as any SSL connection requires an SSL cert and SSL key, its the same on any panel, so no matter if you use Plesk or ISPConfig, SSL without a cert and key can not work.