diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-04 17:53:16 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-04 17:53:16 +0200 |
commit | e530e20ae6a4d1f8621f535523cd2af76f715b0b (patch) | |
tree | b44e18346b0fce1d1174123069b2a6b733b9eede /utils/templates | |
parent | 3c19f2f1cef31fd512975c70a25442d078992a42 (diff) | |
download | searxng-e530e20ae6a4d1f8621f535523cd2af76f715b0b.tar.gz searxng-e530e20ae6a4d1f8621f535523cd2af76f715b0b.zip |
misc: fix variuous marginals
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/templates')
-rw-r--r-- | utils/templates/etc/apache2/sites-available/morty.conf | 4 | ||||
-rw-r--r-- | utils/templates/etc/apache2/sites-available/searx.conf:filtron | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/utils/templates/etc/apache2/sites-available/morty.conf b/utils/templates/etc/apache2/sites-available/morty.conf index 2c5727b19..48b4dd766 100644 --- a/utils/templates/etc/apache2/sites-available/morty.conf +++ b/utils/templates/etc/apache2/sites-available/morty.conf @@ -19,9 +19,7 @@ ProxyPreserveHost On RequestHeader set X-Script-Name ${PUBLIC_URL_PATH_MORTY} # In Apache it seems, that setting HTTP_HOST header direct here does have no - # effect. I needed to set 'ProxyPreserveHost On' (see above). HTTP_HOST is - # needed by searx to render correct *Search URL* in the *Link* box and - # *saved preference*. + # effect. I needed to set 'ProxyPreserveHost On' (see above). # RequestHeader set Host ${PUBLIC_HOST} diff --git a/utils/templates/etc/apache2/sites-available/searx.conf:filtron b/utils/templates/etc/apache2/sites-available/searx.conf:filtron index 5ede66301..e34049063 100644 --- a/utils/templates/etc/apache2/sites-available/searx.conf:filtron +++ b/utils/templates/etc/apache2/sites-available/searx.conf:filtron @@ -24,9 +24,9 @@ ProxyPreserveHost On RequestHeader set X-Script-Name ${FILTRON_URL_PATH} # In Apache it seems, that setting HTTP_HOST header direct here does have no - # effect. I needed to set 'ProxyPreserveHost On' (see above). HTTP_HOST is - # needed by searx to render correct *Search URL* in the *Link* box and - # *saved preference*. + # effect. I needed to set 'ProxyPreserveHost On' (see above). HTTP_HOST + # (ProxyPreserveHost On) is needed by searx to render correct *Search URL* + # in the *Link* box and *saved preference*. # RequestHeader set Host ${PUBLIC_HOST} |