From 173af7c9077e07064cd88b7a09ead956d31341ad Mon Sep 17 00:00:00 2001 From: antelle Date: Sun, 28 May 2017 13:15:29 +0200 Subject: [PATCH] Updated WebDAV Config (markdown) --- WebDAV-Config.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebDAV-Config.md b/WebDAV-Config.md index facce55..46ab708 100644 --- a/WebDAV-Config.md +++ b/WebDAV-Config.md @@ -22,7 +22,7 @@ For nginx: add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, HEAD, POST, PUT, OPTIONS, MOVE, DELETE, COPY, LOCK, UNLOCK'; -add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Accept-Charset,X-Accept,origin,accept,if-match,destination, overwrite'; +add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Accept-Charset,X-Accept,origin,accept,if-match,destination,overwrite'; add_header 'Access-Control-Expose-Headers' 'ETag'; add_header 'Access-Control-Max-Age' 1728000; if ($request_method = 'OPTIONS') { @@ -31,7 +31,7 @@ if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, HEAD, POST, PUT, OPTIONS, MOVE, DELETE, COPY, LOCK, UNLOCK'; - add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Accept-Charset,X-Accept,origin,accept,if-match,destination, overwrite'; + add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Accept-Charset,X-Accept,origin,accept,if-match,destination,overwrite'; add_header 'Access-Control-Expose-Headers' 'ETag'; add_header 'Access-Control-Max-Age' 1728000; return 204;