Hi All
I have been tasked with making https://webmail.example.com (roundcubemail) available to the outside world from behind an Nginx proxy server. Unfortunately Nginx was built without debug and all the set up examples I have found use fast_CGI which I am not allowed to use - the webserver is an IBM s370 and apparently installing anything on it is a royal pain in the ****.
There is already a site working and taking that config as a start I have the following config - that doesn't work.
server {
listen 443;
server_name example.whitecube.com;
ssl on;
ssl_certificate /etc/pki/tls/webmail.example.com.crt;
ssl_certificate_key /etc/pki/tls/private/webmail.example.com.key;
ssl_client_certificate /etc/pki/tls/certs/exampleca.crt;
ssl_verify_client off;
location ^~/roundcubemail/ {
root /var/www/html/;
proxy_set_header Host $host;
proxy_pass https://172.21.11.48:443;
}
}
This is really stressing me out as I have been reading the nginx docs for a couple of days now and I haven't got a clue and without the fast CGI and debug its like I've got both hands tied and no batteries for the flashligh. I appeal to you all to give me some tips....
Regards
Steve