File: nginx_http_cache.conf

package info (click to toggle)
sccache 0.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,028 kB
  • sloc: sh: 358; cpp: 112; perl: 68; makefile: 35; ansic: 31
file content (27 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
error_log /tmp/error.log;
pid       /tmp/nginx.pid;
load_module /usr/lib/nginx/modules/ngx_http_dav_ext_module.so;

events {
  worker_connections 1024;
}

http {
  server {
    listen       127.0.0.1:8080;
    server_name  localhost;
    access_log   /tmp/access.log;
    root         /tmp/static;

    location / {
      client_body_temp_path /tmp;
      log_not_found off;
      dav_methods		PUT DELETE MKCOL;
      dav_ext_methods	PROPFIND OPTIONS LOCK UNLOCK;
      create_full_put_path on;
      client_max_body_size 1024M;
      auth_basic           "Authentication required";
      auth_basic_user_file /tmp/htpasswd;
    }
  }
}