nginx-configs/conf.d/searxng.conf

25 lines
861 B
Plaintext

server {
listen 80;
listen [::]:80;
server_name searx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion searxng.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion search.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion sx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/searxng.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name searx.vern.cc searxng.vern.cc sx.vern.cc;
add_header Onion-Location http://searx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
include common/searxng.conf;
include snippets/lets-encrypt.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name searx.vern.cc searxng.vern.cc sx.vern.cc;
}