Hello there.
I use nginx 1.4.1 from 1-2 weeks and i'm realy happy with it. I have the following question.
I have configured 4 virtual hosts (servers).
First is default_server which is for all non-configured domains (sub-domains) that are configured with my DNS server (A records).
Second one is my main website with ports 80 and 443. other two are one with both ports ssl and non-ssl and last one is only port 80.
My question is : how i can disable port 443 for virtual hosts that use only port 80. by the now if i type it's domain with https:// it redirects me to my main site and i want to stop that somehow.
So is it possible to be done.
Kind regards.
I use nginx 1.4.1 from 1-2 weeks and i'm realy happy with it. I have the following question.
I have configured 4 virtual hosts (servers).
First is default_server which is for all non-configured domains (sub-domains) that are configured with my DNS server (A records).
Second one is my main website with ports 80 and 443. other two are one with both ports ssl and non-ssl and last one is only port 80.
My question is : how i can disable port 443 for virtual hosts that use only port 80. by the now if i type it's domain with https:// it redirects me to my main site and i want to stop that somehow.
So is it possible to be done.
Kind regards.