aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/resources/nginx/nginx_server.conf
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/resources/nginx/nginx_server.conf')
-rw-r--r--extras/hs-test/resources/nginx/nginx_server.conf8
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';
}