Hi,
I have doubled check my configurations but yet I am getting the following warning when I run "sudo nginx -t"
nginx: [warn] conflicting server name "nextcloud.example.org" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "nextcloud.example.org" on [::]:80, ignored
nginx: [warn] conflicting server name "nextcloud.example.org" on [::]:443, ignored
nginx: [warn] conflicting server name "nextcloud.example.org" on 0.0.0.0:443, ignored
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Also, I am not able to reach my homepage of "example.org/nextcloud"
Anything I can check as to why this would occur?
Thanks for guide
Hi,
I have doubled check my configurations but yet I am getting the following warning when I run "sudo nginx -t"
nginx: [warn] conflicting server name "nextcloud.example.org" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "nextcloud.example.org" on [::]:80, ignored
nginx: [warn] conflicting server name "nextcloud.example.org" on [::]:443, ignored
nginx: [warn] conflicting server name "nextcloud.example.org" on 0.0.0.0:443, ignored
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Also, I am not able to reach my homepage of "example.org/nextcloud"
Anything I can check as to why this would occur?
Thanks for guide
Hi there!
Sorry for late reply!
Just to confirm, you are using your own domain instead of "example.org", correct?
Ok so
sudo nginx -ttests to make sure your Nginx config file is all correct. It SHOULD look like this:Could you please check that the nextcloud's
serverblock in the config files only contains these lines at the very top?It should NOT contain anything about port 80 in the nextcloud's
serverblock, only port 443.