mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-26 10:03:25 +01:00
fe17b8f6eb
closes #71
36 lines
928 B
Plaintext
36 lines
928 B
Plaintext
map $remote_addr $freeswitch_addr {
|
|
"~:" [::1];
|
|
default 10.7.7.1;
|
|
}
|
|
|
|
upstream poolhtml5servers {
|
|
zone poolhtml5servers 32k;
|
|
least_conn;
|
|
server 10.7.7.200:4100 fail_timeout=10s max_fails=4 backup;
|
|
server 10.7.7.201:4101 fail_timeout=120s max_fails=1;
|
|
server 10.7.7.202:4102 fail_timeout=120s max_fails=1;
|
|
server 10.7.7.203:4103 fail_timeout=120s max_fails=1;
|
|
server 10.7.7.204:4104 fail_timeout=120s max_fails=1;
|
|
server 10.7.7.205:4105 fail_timeout=120s max_fails=1;
|
|
server 10.7.7.206:4106 fail_timeout=120s max_fails=1;
|
|
server 10.7.7.207:4107 fail_timeout=120s max_fails=1;
|
|
}
|
|
|
|
server {
|
|
listen 8080 default_server;
|
|
listen [::]:8080 default_server;
|
|
server_name _;
|
|
access_log /dev/stdout;
|
|
absolute_redirect off;
|
|
root /www/;
|
|
|
|
# redirect to greenlight
|
|
location = / {
|
|
return 302 /b;
|
|
}
|
|
|
|
# Include specific rules for record and playback
|
|
include /etc/nginx/bbb/*.nginx;
|
|
|
|
}
|