forked from Finyy/ABTestingGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.conf
More file actions
35 lines (29 loc) · 661 Bytes
/
default.conf
File metadata and controls
35 lines (29 loc) · 661 Bytes
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
server {
listen 8080;
server_name localhost 127.0.0.1;
access_log logs/ip-access.log main;
error_log logs/admin.log error;
location / {
root html;
index index.html index.htm;
}
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
set $redis_host '127.0.0.1';
set $redis_port '6379';
set $redis_uds '/tmp/redis.sock';
set $redis_connect_timeout 10000;
set $redis_dbid 0;
set $redis_pool_size 1000;
set $redis_keepalive_timeout 90000;
location /ab_admin {
content_by_lua_file '../admin/ab_action.lua';
}
}