на сам webdav:
Сам конфиг апача на webdav - Link только метод авторизации Digest
webdav:
HTTP/1.1 200 OK
Date: Sun, 09 Feb 2020 17:19:30 GMT
Server: Apache/2.4.37 (Unix)
Authentication-Info: rspauth="6cca24484cda3ce20b10f032a8f2e64f", cnonce="538715cd41071019", nc=00000003, qop=auth
Content-Length: 281
Keep-Alive: timeout=5, max=97
Connection: Keep-Alive
Content-Type: text/html;charset=ISO-8859-1
GET / HTTP/1.1
Host: localhost:8800
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Authorization: Digest username="test", realm="WebDAV", nonce="Byw20yeeBQA=1f16b566b42b591daaa0290d2f9ae60f127d4078", uri="/", algorithm=MD5, response="a3e053cfb287ef3b29a6858c36eeebe6", qop=auth, nc=00000003, cnonce="538715cd41071019"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36
Sec-Fetch-Dest: document
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Accept-Encoding: gzip, deflate, br
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
nginx:
HTTP/1.1 400 Bad Request
Server: nginx/1.15.8
Date: Sun, 09 Feb 2020 17:20:17 GMT
Content-Type: text/html; charset=iso-8859-1
Content-Length: 226
Connection: keep-alive
GET /webdav/ HTTP/1.1
Host: 1234
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Authorization: Digest username="test", realm="WebDAV", nonce="ZZwB1SeeBQA=32fe0e0ee97eeed00208cbcba7f8e2da13b5fad5", uri="/webdav/", algorithm=MD5, response="cc0cf8527e97a8e16aa45bbc854af22c", qop=auth, nc=00000003, cnonce="b7fcf0b4463f1772"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
запрос который уходит через nginx на http://1234/webdav Host: 1234 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate DNT: 1 Authorization: Digest username="test", realm="WebDAV", nonce="XImXlSieBQA=bf4a0d0de52e4bdd1df07ec0c2e5fefd315be514", uri="/webdav/", algorithm=MD5, response="e5205fdb245b0c2f6e380b869f6298a2", qop=auth, nc=00000004, cnonce="65b23a8d815de2ac" Connection: keep-alive Upgrade-Insecure-Requests: 1 Cache-Control: max-age=0 запрос который уходит прямо на webdav http://172.22.130.70:8080 Host: localhost:8800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate DNT: 1 Connection: keep-alive Upgrade-Insecure-Requests: 1 Cache-Control: max-age=0 Authorization: Digest username="test", realm="WebDAV", nonce="xfww5iieBQA=1269f1ae977e2daa8b4af3b77e3dcc0113e5d129", uri="/", algorithm=MD5, response="c44f2afd40e754e2d64c5a58696f216b", qop=auth, nc=00000001, cnonce="786ac6891a46a6e0"
Обсуждают сегодня