Welcome! Log In Create A New Profile

Advanced

Re: SSL port other than 443

October 20, 2012 03:30AM
I am having the same issue.
Here is the server block of my nginx.conf -
#########
server{
listen 8090 ssl;
server_name foo.bar.com;

ssl_certificate conf.d/ssl/foo.bar.com.crt;
ssl_certificate_key conf.d/ssl/foo.bar.com.key;

keepalive_timeout 60;

location / {
proxy_pass https://127.0.0.1:8010;

### force timeouts if one of backend is died ##
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

### Set headers ####
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

### Most PHP, Python, Rails, Java App can use this header ###
proxy_set_header X-Forwarded-Proto https;

### By default we don't want to redirect it ####
proxy_redirect off;

}
location ~ /\.ht {
deny all;
}
}
#########
As you can see I am using other port than 443. How do I make it work?
Subject Author Posted

SSL port other than 443

yashgt August 30, 2012 07:50AM

Re: SSL port other than 443

Javi Lavandeira August 30, 2012 09:06AM

Re: SSL port other than 443

yashgt August 30, 2012 09:07AM

Re: SSL port other than 443

Javi Lavandeira August 30, 2012 09:14AM

Re: SSL port other than 443

Igor Sysoev August 30, 2012 09:26AM

Re: SSL port other than 443

Igor Sysoev August 30, 2012 09:26AM

Re: SSL port other than 443

yashgt August 30, 2012 09:27AM

Re: SSL port other than 443

yashgt August 30, 2012 09:53AM

Re: SSL port other than 443

yashgt August 30, 2012 09:54AM

Re: SSL port other than 443

hussain October 20, 2012 03:30AM

Re: SSL port other than 443

Edho Arief October 20, 2012 10:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 238
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready