Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: http and https on same server

$
0
0
My config is

server
{
listen 80;
server_name MyTest;
index index.htm;
location /{
proxy_pass http://x.x.x.x;
...
}

server
{
listen 443 default ssl;
ssl on;
server_name test.in;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_certificate ssl/test.crt;
ssl_certificate_key ssl/test.key;
location /{
proxy_pass https://x.x.x.x;
...
...
}

Where does it fits ??

Regards

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>