Setup with reverse proxy / URL base

Post Reply
kaleb6
Jr. Bludit
Posts: 1
Joined: Tue Apr 07, 2020 7:07 pm

Tue Apr 07, 2020 7:12 pm

I would like to set up bludit behind a reverse proxy.
However, I cannot find the setting to add a base to all links.

For example, bludit should look for resources under mydomain.com/<base>/install.php instead of mydomain.com/install.php.

Can I set this up or would it be possible to adopt that as a feature request?

Thanks!
User avatar
Jay
Master Bludit
Posts: 106
Joined: Mon Feb 11, 2019 8:41 pm

Wed Apr 08, 2020 12:05 am

You can give a shot at settings > advanced > url filters

But afair in one of config files there was a variable for global path.
Can't tell anything more, didn't look at source code for quite some time, and have no idea about changes since v3.9
bozodev
Ssr. Bludit
Posts: 20
Joined: Sun May 12, 2019 1:03 am

Sun Apr 12, 2020 5:09 pm

I have this working. I also had to edit the .htaccess file to set the Rewritebase to /<your-subdirectory>

I hope that helps
Checkout Pi Lab (Powered by Bludit PRO & Raspberry Pi) - Bludit Backer
Post Reply