Index

joshstock.in / 0fe4f18

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 / test / servers / www.conf

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