Index

joshstock.in / 2ae4db8

Source for serving and static templating/compiling of https://joshstock.in.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
9018 Jan 2021 10:287e0a3b4Update nginx configurationJosh Stockin1220G

Blob @ joshstock.in / nginx / prod / searx.conf

text/plain718 bytesdownload raw
1server {
2 listen 443 ssl http2;
3 listen [::]:443 ssl http2;
4 server_name searx.joshstock.in;
5 rewrite ^/(.*)/$ /$1 permanent; # truncate forward slash
6 error_page 404 /error-404.html; location = /error-404.html {
7 root /var/www/html;
8 }
9 location / {
10 proxy_intercept_errors on;
11 proxy_pass http://localhost:8888;
12
13 proxy_set_header Host $host;
14 proxy_set_header Connection $http_connection;
15 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
16 proxy_set_header X-Scheme $scheme;
17 proxy_buffering off;
18 }
19 location = /favicon.ico {
20 root /var/www/html;
21 }
22}
23