summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/ymir-nginx.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix
index b61c448c..36011af8 100644
--- a/custom/ymir-nginx.nix
+++ b/custom/ymir-nginx.nix
@@ -195,7 +195,7 @@ in {
195 195
196 location ~ ^/(.+?)(/.*)?$ { 196 location ~ ^/(.+?)(/.*)?$ {
197 if ($scheme = http) { 197 if ($scheme = http) {
198 return 301 https://$server_name$request_uri; 198 return 301 https://$host$request_uri;
199 } 199 }
200 200
201 alias /srv/www/webdav/$1$2; 201 alias /srv/www/webdav/$1$2;