Hi all,
I’m using pound for accessing to nextcloud and its apps. I obtained a certificat with certbot for https binding. I’m able to open passwords app without its https warning screen but i get a 500 - internal server error. Nextcloud client runs and synchronizes files but it looses connection rights at each new starting of my computer. I’m sure it’s coming from pound’s or nextcloud config because i’m not an expert.
Could somebody help me ? Thanks a lot in advance
Firts of all here is the interesting part of my log (sorry for the little snapshot, the original log file is very long…):
What’s i added in the nextcloud config.php :
‘trusted_proxies’ => [‘192.168.1.64’],
‘overwritehost’ => ‘mywebsite.dynamic-dns.net’,
‘overwriteprotocol’ => ‘https’,
‘overwritecondaddr’ => ‘^192.168.1.64$’,
And finally my reverse proxy config file pound.cfg :
Port(s) listening
ListenHTTPS
Address 192.168.1.64
Port 443
AddHeader “X-Forwarded-Proto: https”
HeadRemove “X-Forwarded-Proto”
HeadRemove “X-Forwarded-For”
xHTTP 3
Cert “/usr/local/etc/letsencrypt/live/mywebsite.dynamic-dns.net/total.pem”
End
Server(s)
Service
BackEnd
Address 192.168.1.28
Port 80
End
Session
Type IP
TTL 900
End
End