Index

joshstock.in / e654c77

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
3802 Jan 2020 16:4207297adStreamline nginx configuration updatesJosh Stockin1120N

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

text/plain264 bytesdownload raw
1server {
2 listen 80;
3 listen [::]:80;
4 server_name joshstock.in; # redirect non-https to https
5 return 301 https://joshstock.in$request_uri;
6}
7server {
8 listen 80;
9 listen [::]:80;
10 server_name git.joshstock.in;
11 return 301 https://git.joshstock.in$request_uri;
12}
13