[HCoop-Help] HTTPS & redirects
Kenneth Pronovici
pronovic at gmail.com
Tue Mar 17 16:57:25 EDT 2020
Thanks. Below is what I ended up with a day or two after I originally
wrote this. Seems to work fine..
KEN
----
dom "brilliantwatersyoga.com" where
DefaultAlias = false;
CreateWWW = false;
DefaultWebNode = "shelob";
with
dnsDefaultText "v=spf1 mx a:muffat.debian.org a:mailly.debian.org -all";
webSsl "default" (use_cert
"/etc/apache2/ssl/user/brilliantwatersyoga.com.pem") where
DocumentRoot = home "web/htdocs/brilliantwatersyoga.com";
with
serverAliasDefault;
alias "/.well-known" ( home
"web/data/brilliantwatersyoga.com/.well-known" );
end;
webSsl "www" (use_cert
"/etc/apache2/ssl/user/brilliantwatersyoga.com.pem") where
ForceSSL = false;
with
rewriteRule "^(.*)$" "https://brilliantwatersyoga.com$1"
[redirectWith permanent];
end;
dnsIP "mail" deleuze_ip;
emailAlias "kenneth.pronovici" "pronovic";
emailAlias "admin" "pronovic";
emailAlias "webmaster" "pronovic";
emailAlias "contact" "pronovic";
emailAlias "support" "pronovic";
end;
More information about the HCoop-Help
mailing list