add capability to serve with nginx
This commit is contained in:
14
config.yaml
14
config.yaml
@ -44,3 +44,17 @@ storage:
|
||||
type: local # ignored
|
||||
local:
|
||||
path: /data # defaults to ./data
|
||||
|
||||
accel:
|
||||
# example nginx config:
|
||||
## location /i {
|
||||
## internal;
|
||||
## alias /path/to/data;
|
||||
## }
|
||||
## location / {
|
||||
## proxy_pass 127.0.0.1:8881;
|
||||
## proxy_set_header X-Accel-Path /i;
|
||||
## }
|
||||
##
|
||||
|
||||
# enable-by-header: "X-Accel-Path"
|
||||
|
Reference in New Issue
Block a user