So I have two servers running nextcloud and i have a reverse proxy server running upfront.
I need the reverse proxy to convert HTTP to HTTPS and point the correct domain to the correct server. So I have the following:
nextcloud.domainx.com = local ip: 192.168.4.21
nextcloud.domainy.com = local ip: 192.168.4.22
Config on REVERSE PROXY
This configuration works for nextcloud.domainx.com but when I try it for nextcloud.domainy.com it gives me “Internal Server Error”
DomainY Nextcloud NGiNX Error Log:
What am I doing wrong?
if you get a 50x error, this looks like an issue with the second nextcloud server.
Given the last errors logs, looks like the nextcloud instance setup failed.
Check folder permissions.