fdee2c257c
To include the SSL related directives in the port 80 server block seems to be redundant. Because we are redirecting explicit all incoming traffic via port 80 to the HTTPS host on port 443 where only the *secure-connection-magic* is happen. Maybe I am missing something, but I tested the configuration under the following system and encountered no negative side effects: **Server** * Ubuntu 14.04 LTS * Nginx 1.7.7 mainline **Client** * OS X 10.9.5 * Browser: FF 33, Chrome 38, Safari 7 |
||
---|---|---|
.. | ||
README.md | ||
example.com | ||
no-default | ||
ssl.example.com |
README.md
Sites Available
Define host definitions here. It'd be a good thing if you keep your hosts indexed by domain name, eg:
example.com (handles traffic from both www.example.com and example.com)
foobar.com (as above)
test.foobar.com (handles traffic from both www.test.foobar.com and test.foobar.com)