mirror of https://github.com/keeweb/keeweb.git
Updated WebDAV Config (markdown)
parent
36d883f2ae
commit
94d11bc53a
|
@ -26,15 +26,15 @@ add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,Keep-Alive,User-Age
|
|||
add_header 'Access-Control-Expose-Headers' 'ETag';
|
||||
add_header 'Access-Control-Max-Age' 1728000;
|
||||
if ($request_method = 'OPTIONS') {
|
||||
add_header 'Content-Type' 'text/plain charset=UTF-8';
|
||||
add_header 'Content-Length' 0;
|
||||
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-Expose-Headers' 'ETag';
|
||||
add_header 'Access-Control-Max-Age' 1728000;
|
||||
return 204;
|
||||
add_header 'Content-Type' 'text/plain charset=UTF-8';
|
||||
add_header 'Content-Length' 0;
|
||||
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-Expose-Headers' 'ETag';
|
||||
add_header 'Access-Control-Max-Age' 1728000;
|
||||
return 204;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue