uninsane.org: force SSL to avoid CORS problems

This commit is contained in:
Colin 2022-06-26 04:20:33 -07:00
parent d7d9c0b9ba
commit 075969540a

View File

@ -7,7 +7,10 @@
# web blog/personal site
services.nginx.virtualHosts."uninsane.org" = {
root = "/opt/uninsane/root";
addSSL = true;
# a lot of places hardcode https://uninsane.org,
# and then when we mix http + non-https, we get CORS violations
# and things don't look right. so force SSL.
forceSSL = true;
enableACME = true;
# allow matrix users to discover that @user:uninsane.org is reachable via matrix.uninsane.org