h: add proxy_ssl_server_name for notes

This commit is contained in:
Aaron Bieber 2022-09-22 08:31:55 -06:00
parent ef7ca9f23d
commit c0210f0929
No known key found for this signature in database

View File

@ -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" = {