Index

joshstock.in / f53e6c1

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
14814 Jul 2022 13:586642f3bChange root from /var/www/html to /var/www/joshJosh Stockin122G

Blob @ joshstock.in / nginx / prod / servers / 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/josh;
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/josh;
21 }
22}
23