mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Added more detailed searxng.conf
This commit is contained in:
parent
bd5d1c00a0
commit
7f069623d3
1 changed files with 32 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue