h: fix notes redirect

This commit is contained in:
Aaron Bieber 2022-09-22 14:55:26 -06:00
parent 86914dec0d
commit 2d7548fdf0
No known key found for this signature in database

View File

@ -302,6 +302,8 @@ in {
extraConfig = '' extraConfig = ''
location / { location / {
resolver 9.9.9.9; resolver 9.9.9.9;
proxy_set_header Connection "";
proxy_http_version 1.1;
proxy_pass https://publish.obsidian.md/serve?url=notes.suah.dev/; proxy_pass https://publish.obsidian.md/serve?url=notes.suah.dev/;
proxy_ssl_server_name on; proxy_ssl_server_name on;
} }