h: fix dup location entries

This commit is contained in:
Aaron Bieber 2022-09-22 08:34:40 -06:00
parent c0210f0929
commit dbeca1c11e
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;