Redirect www to main page, not to nextcloud

This commit is contained in:
Wojciech Kozlowski 2018-12-10 22:10:48 +00:00
parent a2bf86ba8e
commit ed7b8b0b2b

View File

@ -1,6 +1,6 @@
server {
listen 80;
server_name wojciechkozlowski.eu;
server_name wojciechkozlowski.eu www.wojciechkozlowski.eu;
location ^~ /.well-known {
allow all;
@ -14,7 +14,7 @@ server {
server {
listen 443 ssl;
server_name wojciechkozlowski.eu;
server_name wojciechkozlowski.eu www.wojciechkozlowski.eu;
location / {
proxy_set_header X-Real-IP $remote_addr;