On 09/12/2021 17:34, Johannes Schauer Marin Rodrigues wrote:
I created an autopkgtest and cannot reproduce your problem. Please verify your config. Here is the apache2 config: https://salsa.debian.org/debian/searx/-/blob/master/debian/examples/apache2/sites-available/searx.conf And here the setup: https://salsa.debian.org/debian/searx/-/blob/master/debian/tests/apache2 As you can see in the autopkgtest log, there is no extra /searx/ in the URLs: https://salsa.debian.org/debian/searx/-/jobs/2261699#L1517
The issue was with /etc/searx/settings.yml, not apache, specifically the base_url parameter. I had it set to https://example.org/searx/ and after an update, it stopped working. Setting it to https://example.org/ fixed it, and further testing today shows that simply setting it to False causes it to just do the right thing.
alexd