Index

joshstock.in / 23d65ba

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
12413 Oct 2021 20:045a74171Update nginx configurationsJosh Stockin1240G

Blob @ joshstock.in / nginx / prod / sites-enabled / 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/html;
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/html;
23 }
24}
25