Hello everyone, I am a newby and hope to find help here.
I have two servers behind the same router, nextcloudpi and freedombox and I have made a reverse proxy with nextcloudpi as the exposed server and freedombox behind nextcloudpi.
However when I try to connect to plinth at the web address of my freedombox I get an error message ‘Bad Request (400)’ which does not occur when I connect to freedombox services without needing authentication (e.g. searX).
Steps to Reproduce
I created on my nextcloudpi server a freedombox.conf file in the sites-enable directory of apache with these instructions:
<VirtualHost *:80>
ServerName mysite.freedombox.rocks
ServerAlias mysite.freedombox.rocks
ProxyPreserveHost on
ProxyPass / http://192.168.X.X:80/
ProxyPassReverse / http://192.168.X.X/
</VirtualHost>
#Listen 443
<IfModule mod_ssl.c>
<VirtualHost *:443>
SSLEngine On
SSLProxyEngine On
ServerName mysite.freedombox.rocks
ServerAlias mysite.freedombox.rocks
ProxyPreserveHost on
ProxyPass / http://192.168.X.X:80/
ProxyPassReverse / http://192.168.X.X/
SSLCertificateFile /etc/letsencrypt/live/blubox.freedombox.rocks/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/blubox.freedombox.rocks/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
After that I used certbot on nextcloudpi to get the ssl certificates.
Expected Results
The ability to use plinth with freedombox through my web domain.
Actual results
I get an error message Bad Request (400) when I connect to the address mysite.freedombox.rocks/plinth/
Everything works normally when I connect to services without the need of authentication for example searx mysite.freedombox.rocks/searx
Information
- FreedomBox version: FreedomBox 21.11
- Hardware: pioneer
Thanks in advance