|
@ -42,7 +42,15 @@ uses: |
|
|
auto: pair |
|
|
auto: pair |
|
|
solves: |
|
|
solves: |
|
|
proxy: "Public access" |
|
|
proxy: "Public access" |
|
|
#default-options: |
|
|
|
|
|
|
|
|
default-options: |
|
|
|
|
|
apache-custom-rules: |
|
|
|
|
|
- !bash-stdout | |
|
|
|
|
|
workers=$(relation-base-compose-get workers 2>/dev/null) |
|
|
|
|
|
workers=${workers:-1} |
|
|
|
|
|
if [ "$workers" -gt 1 ]; then |
|
|
|
|
|
echo "ProxyPass /longpolling/ http://${MASTER_BASE_SERVICE_NAME}:8072/longpolling/" |
|
|
|
|
|
echo "ProxyPassReverse /longpolling/ http://${MASTER_BASE_SERVICE_NAME}:8072/longpolling/" |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
# network-isolation: |
|
|
# network-isolation: |
|
|
# whitelist: ## required external services used by this service |
|
|
# whitelist: ## required external services used by this service |
|
|