mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
35 lines
825 B
Plaintext
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/;
|
|
}
|
|
}
|
|
} |