h: fix dup location entries

This commit is contained in:
Aaron Bieber 2022-09-22 08:34:40 -06:00
parent 75c1f5b762
commit 6b78bd6686
No known key found for this signature in database

View File

@ -300,14 +300,11 @@ in {
enableACME = true;
root = "/var/www/suah.dev";
extraConfig = ''
location ~ / {
location / {
proxy_pass https://publish.obsidian.md/serve?url=notes.suah.dev/;
proxy_ssl_server_name on;
}
'';
locations."/" = {
proxyWebsockets = true;
};
};
"suah.dev" = {
forceSSL = true;