Added more detailed searxng.conf

This commit is contained in:
Luka Jovanovic 2022-06-21 13:59:50 +02:00
parent bd5d1c00a0
commit 7f069623d3

View file

@ -353,6 +353,18 @@ all`` directive and replace ``192.168.0.0/16`` with your subnet IP/class.
.. code:: apache
<VirtualHost *:80>
ServerName your_domain
Redirect / your_https_url
RewriteEngine on
RewriteCond %{SERVER_NAME} = your_domain
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName your_domain
LoadModule headers_module /usr/lib/apache2/mod_headers.so
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_uwsgi_module /usr/lib/apache2/modules/mod_proxy_uwsgi.so
@ -373,6 +385,12 @@ all`` directive and replace ``192.168.0.0/16`` with your subnet IP/class.
</Location>
SSLCertificateFile path_to_cert_file
SSLCertificateKeyFile path_to_cert_key
</VirtualHost>
</IfModule>
.. group-tab:: Arch Linux
.. code:: apache