h: fix dup location entries
This commit is contained in:
parent
c0210f0929
commit
dbeca1c11e
@ -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