Index

joshstock.in / 71dd216

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 / filebrowser.conf

text/plain750 bytesdownload raw
1server {
2 listen 443 ssl http2;
3 listen [::]:443 ssl http2;
4 server_name cloud.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 client_max_body_size 100M;
11 proxy_intercept_errors on;
12 proxy_pass http://localhost:8082;
13
14 proxy_set_header Host $host;
15 proxy_set_header Connection $http_connection;
16 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
17 proxy_set_header X-Scheme $scheme;
18 proxy_buffering off;
19 }
20 location = /favicon.ico {
21 root /var/www/josh;
22 }
23}
24