Index

joshstock.in / e89b100

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 / 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