Proxy Error on apache2 reddit / selfhosted ---------------------------------------------------------------------- r4nchy · 2023-10-15 17:52 I have this \[midgard\]([https://github.com/changkun/midgard](https:// github.com/changkun/midgard)) service self hosted on my raspberry pi. It was working fine 3 weeks ago, but for some reason it has stopped working. https://preview.redd.it/11h69iqrnbub1.png?width=1266&format=png&auto=w ebp&s=002051f48721b6096767d54225808747ed1c9949 The file \` /etc/apache2/sites-available/mg.pi.conf\` looks like this ServerName mg.pi SSLEngine on SSLCertificateFile /etc/apache2/certs/mg.pi/mg.pi.crt SSLCertificateKeyFile /etc/apache2/certs/mg.pi/mg.pi.key # ProxyPass for normal HTTP traffic ProxyPass / http://mg.pi:8456/ ProxyPassReverse / http://mg.pi:8456/ # WebSocket and additional proxy settings ProxyPass ws://mg.pi:8456/midgard/api/v1/ws/ ProxyPassReverse ws://mg.pi:8456/midgard/api/v1/ws/ # Other configurations If someone can point out whats wrong then that would be awesome. Let me know if more details is needed. ---------------------------------------------------------------------- ElevenNotes · 2023-10-15 18:17 Replace mg.pi with the IP. Your proxy can't resolve mg.pi. ---------------------------------------------------------------------- r4nchy · 2023-10-15 18:37 sorry I have pihole running (at 192.168.0.100) and I have set mg.pi to point to [192.168.0.102](https://192.168.0.102) that's where midgard is hosted. This setting is done on pihole gui DNS records menu. When I use \`https://192.168.0.102/midgard/api/v1/clipboard\` I get \`The requested URL was not found on this server.\` ---------------------------------------------------------------------- ElevenNotes · 2023-10-15 19:06 https://192.168.0.102:8456/midgard/api/v1/clipboard