Index

joshstock.in / d2c0b95

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
14714 Jul 2022 10:1392c9fd4Rename nginx conf directory sites-enabled/ to servers/Josh Stockin160G

Blob @ joshstock.in / nginx / prod / servers / notls-redirect.conf

text/plain156 bytesdownload raw
1server {
2 listen 80;
3 listen [::]:80;
4 server_name "~^(?<domain>.*joshstock.in)$"; # redirect non-https to https
5 return 301 https://$domain$request_uri;
6}
7