h: fix dup location entries
This commit is contained in:
parent
75c1f5b762
commit
6b78bd6686
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user