标签:HTTPS

Server

How to set nginx for http and https in same host

How to set nginx for http and https in same host
INTRODUCE Sometimes, I need both http and https protocol work for my website, but a wrong configuration file will cause an error on nginx. But, how to write a right configuration file work on both http and https protocols? WRONG CONFIGURATION FILE server { listen 80; listen 443; ssl ...

Norckon 2016-05-25 343℃ 0 COMMENT 0 LIKE