Redirect www to main page, not to nextcloud
This commit is contained in:
parent
a2bf86ba8e
commit
ed7b8b0b2b
@ -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;
|
||||
|
Reference in New Issue
Block a user