diff options
author | Matus Fabian <matfabia@cisco.com> | 2024-09-06 15:30:59 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-09-10 16:35:23 +0000 |
commit | 5b175eca2d6389bfb0c09839436df83cf8df334c (patch) | |
tree | deccee366af3239f0d132f6a58aa8c88004b8ce9 /extras/hs-test/resources/nginx/nginx_server.conf | |
parent | 6e129e3a4522f429fc6cee7f5bde2fde8082af83 (diff) |
hs-test: upload via proxy tests
Type: test
Change-Id: Id6b4e2348735081c827f814a814c976b601432ec
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras/hs-test/resources/nginx/nginx_server.conf')
-rw-r--r-- | extras/hs-test/resources/nginx/nginx_server.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/hs-test/resources/nginx/nginx_server.conf b/extras/hs-test/resources/nginx/nginx_server.conf index 80ea602e3a1..62d27cbbc65 100644 --- a/extras/hs-test/resources/nginx/nginx_server.conf +++ b/extras/hs-test/resources/nginx/nginx_server.conf @@ -22,6 +22,14 @@ http { server_name {{.Address}}; root /usr/share/nginx; index index.html index.htm; + location ~ "/upload/([0-9a-zA-Z-.]*)$" { + alias /usr/share/nginx/upload/$1; + client_body_temp_path /tmp; + client_max_body_size 200M; + dav_methods PUT; + create_full_put_path off; + dav_access all:rw; + } location /64B { return 200 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; } |