I have 2 server sections in my config. One runs on port 80 and SSL on
443.
The other on port 83 and its SSL on 444:
listen 83 default ;
## SSL directives might go here
listen 444 ssl;
Once I restart nginx and run netstat -a I see port 443 being used but
not
port 444. What might be the issue?
I have 2 server sections in my config. One runs on port 80 and SSL on 443.
The other on port 83 and its SSL on 444:
listen 83 default ;
## SSL directives might go here
listen 444 ssl;
Once I restart nginx and run netstat -a I see port 443 being used but not
port 444. What might be the issue?
Are you trying to use the same IP address for both server sections?
I have 2 server sections in my config. One runs on port 80 and SSL on 443.
The other on port 83 and its SSL on 444:
listen 83 default ;
## SSL directives might go here
listen 444 ssl;
Once I restart nginx and run netstat -a I see port 443 being used but not
port 444. What might be the issue?
root@v-enterprise15:/usr/local/pnp4nagios# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
This doc says that it should be possible to share the same IP address. I
use
latest browsers. I intend to have multiple server sections in the
config,
each for a different app. I am using a self-signed certificate. Anything
special needs to be done to the cert?
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
#########
As you can see I am using other port than 443. How do I make it work?
You forgot to mention what the problem you’re having. I’m guessing
your backend server isn’t using ssl but you configured it as https
(proxy_pass https://). Try using http:// instead.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.