-
I am trying stalwart mailserver but have problems using nginx as reverse proxy for the webmin interface: I use the follwing nginx location inside a https server block to proxy the webinterface to docker:
when I open the website https://webadmin.example.com/login I get an empty page. Nginx shows the following errors:
(I have replaced the actual website with *** in that error message for privacy reasons) What is the right location block in nginx to proxy the webinterface? Access works with http://localhost:8080/login As I understand the documentation, port 443 should be used to access the webadmin after the initial configuration. Is there a way to use SSL-offloading with nginx so that nginx does the actual SSL encryption in the reverse proxy instead of encryption in Stalwart. How do I configure Stalwart to not encrypt 443 and instead use nginx for that? Since nginx can proxy IMAP, POP3 and SMTP protocols an upstream mail server, i would like to use nginx for all encryption so that I only have to update certificates there. And I would also like to add a related feature request: Could you make the base-url configurable so that I can use a subdirectory as location to access the webadmin with a subdirectory, e.g. example.com/webadmin/login instead of webadmin.example.com/login |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You should ask the Nginx community why you're seeing this error.
Yes, you can create a new plain-text listener bound to a port of your choice.
This is not yet possible, but you can host the webadmin on a separate hostname and then specify your Stalwart server URL using the |
Beta Was this translation helpful? Give feedback.
You should ask the Nginx community why you're seeing this error.