shoebottom.ca-nginx/searx.conf
2024-05-23 06:26:54 -03:00

27 lines
717 B
Plaintext

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
}