It does not make sense having a seperate server block for both http and https. According to the nginx doc [1], using the same server block for both should work. [1] http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server |
||
|---|---|---|
| .. | ||
| listen_plain.template | ||
| listen_ssl.template | ||
| server_name.template | ||
| sogo_eas.template | ||
| sogo.template | ||