-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcloud_vault.conf
45 lines (33 loc) · 1018 Bytes
/
cloud_vault.conf
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
upstream app_server {
server unix:/tmp/gunicorn.sock fail_timeout=0;
}
server {
listen 8080;
client_max_body_size 20M;
server_name cloud-vault;
keepalive_timeout 5;
root /usr/local/var/cloud_vault;
access_log /usr/local/var/log/nginx/cloud_vault/access.log;
error_log /usr/local/var/log/nginx/cloud_vault/error.log warn;
location /static {
}
location /media {
}
location /documents/ {
internal;
alias /usr/local/var/cloud_vault/documents/;
}
location /favicon.ico {
access_log off;
log_not_found off;
}
location /robots.txt {
access_log off;
log_not_found off;
}
location / {
include proxy_params;
proxy_redirect off;
proxy_pass http://app_server;
}
}