h: add proxy_ssl_server_name for notes
This commit is contained in:
parent
ef7ca9f23d
commit
c0210f0929
@ -299,9 +299,14 @@ in {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = "/var/www/suah.dev";
|
||||
extraConfig = ''
|
||||
location ~ / {
|
||||
proxy_pass https://publish.obsidian.md/serve?url=notes.suah.dev/;
|
||||
proxy_ssl_server_name on;
|
||||
}
|
||||
'';
|
||||
locations."/" = {
|
||||
proxyWebsockets = true;
|
||||
proxyPass = "https://publish.obsidian.md/serve?url=notes.suah.dev/";
|
||||
};
|
||||
};
|
||||
"suah.dev" = {
|
||||
|
Loading…
Reference in New Issue
Block a user