Add searx

This commit is contained in:
Isaac Shoebottom 2024-05-23 06:26:54 -03:00
parent c01d490bdf
commit fe026cfcd7

27
searx.conf Normal file
View File

@ -0,0 +1,27 @@
server {
server_name searx.shoebottom.ca;
location / {
proxy_pass http://127.0.0.1:8383;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/searx.shoebottom.ca/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/searx.shoebottom.ca/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = searx.shoebottom.ca) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name searx.shoebottom.ca;
listen 80;
return 404; # managed by Certbot
}