I found the solution: My entry for proxy_set_header Host $host:$server_port; was originally missing the $server_port Source : http://stackoverflow.com/questions/10168155/nginx-proxy-https-to-http-on-non-standard-port Now it works! =Dby cyberjar09 - Nginx Mailing List - English
To add to the issue: the problem only surfaces when I POST a form to the server, here are a few of examples from the /var/log/nginx/access.log file : ================== 127.0.0.1 - - [07/Jan/2013:17:29:14 +0800] "GET /admin/logout HTTP/1.1" 302 0 "https://iossapp1.com:9443/admin/iosIndex" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23by cyberjar09 - Nginx Mailing List - English
I tried the above but Cant seem to get it working : please see below ...... include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; server { listen 9000; server_name iossapp1.com; if ($scheme = 'http') { rewrite ^ https://$server_name:9443$requesby cyberjar09 - Nginx Mailing List - English
hi GreenGecko, No. the command nginx -t throws a "key values mismatch" error. I have 5 files downloaded from StartSSL, namely : 1. ca-bundle.pem 2. ca.pem 3. sub.class2.client.ca.pem 4. sub.class2.code.ca.pem 5. sub.class2.server.ca.pem of which I have identified that (2) and (5) are the Root cert and intermediate cert respectively. Which leaves me with (1), (3)by cyberjar09 - How to...
Hi all, I have recently purchased a wildcard class2 SSL certificate from StartSSL and have downloaded the PFX file for the same. Since I am going to be using it with NGINX, here is what I did : 1. Obtain the cert in *.pem format openssl pkcs12 -in mydomain.pfx -nokeys -out mydomain.pem 2. Get the key openssl pkcs12 -in mydomain.pfx -out mydomain.key -nocerts -nodes 3. Then follby cyberjar09 - How to...