Index

joshstock.in / 0892789

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

text/plain704 bytesdownload raw
1server {
2 listen 443 ssl http2;
3 listen [::]:443 ssl http2;
4 server_name shell.joshstock.in;
5 error_page 404 /error-404.html; location = /error-404.html {
6 root /var/www/josh;
7 }
8 location ^~ {
9 proxy_pass http://localhost:8889;
10
11 proxy_http_version 1.1;
12 proxy_set_header Upgrade $http_upgrade;
13 proxy_set_header Connection "upgrade";
14 proxy_read_timeout 43200000;
15
16 proxy_set_header X-Real-IP $remote_addr;
17 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
18 proxy_set_header Host $http_host;
19 proxy_set_header X-NginX-Proxy true;
20 }
21 location = /favicon.ico {
22 root /var/www/josh;
23 }
24}
25