Files
openide/platform/build-scripts/tests/nginx-webdav.conf
Vladimir Krivosheev a37d16210f fix uploadedBytes calculation - report compressed size and not raw
GitOrigin-RevId: 966bfccab51775efb9a22e398499450d777a0458
2024-09-01 08:38:17 +00:00

35 lines
825 B
Plaintext

daemon off;
worker_processes auto;
events {
}
http {
log_format main '[$time_local] "$request" $status $body_bytes_sent';
access_log /dev/stdout main;
error_log /dev/stderr;
gzip on;
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json application/javascript text/x-js;
server {
listen 127.0.0.1:1900 ssl;
http2 on;
server_name 127.0.0.1;
ssl_certificate ./server.crt;
ssl_certificate_key ./server.key;
location / {
root /tmp/webdav;
client_max_body_size 0;
create_full_put_path on;
dav_methods PUT;
autoindex on;
}
location /check-files {
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_pass http://127.0.0.1:8082/;
}
}
}