Pi-Hole on Nginx reverse proxy

Please follow the below template, it will help us to help you!

Expected Behaviour:

Going to pihole.domain.tld shows the web interface normally, and going to cloud.domain.tld shows the Nextcloud interface

Actual Behaviour:

Going to pihole.domain.tld tells me that Javascript is disabled and in the browser console I get 400 errors when resources are loading. Whenever I go to anywhere other than the root of this domain I see a Nextcloud "untrusted domain" error even though the server_name on my Nextcloud configuration is cloud.domain.tld.

Debug Token:

lsqzubgrmx

Both domains resolve to the same IP address (I assume), so there is no difference between the two URLs. It sounds like you are trying to put both Pi-hole and Nextcloud on the same port. Change one of the ports (Nextcloud uses apache, Pi-hole uses lighttpd).

Thank you! I will go ahead with this when I have time.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.