Index

joshstock.in / 23d0748

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

Latest Commit

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

Blob @ joshstock.in / nginx / prod / sites-enabled / www-redirect.conf

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