Index

joshstock.in / f5a1949

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 / test / sites-enabled / 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