This commit is contained in:
parent
8308fa533f
commit
3eda2c7d68
@ -102,10 +102,12 @@ RUN \
|
|||||||
&& unitd --control unix:/var/run/control.unit.sock \
|
&& unitd --control unix:/var/run/control.unit.sock \
|
||||||
&& curl -X PUT --data-binary \
|
&& curl -X PUT --data-binary \
|
||||||
'{ \
|
'{ \
|
||||||
"listeners": { "*:9000": { "pass": "routes/main" } }, \
|
"listeners": { \
|
||||||
"listeners": { "*:9001": { "pass": "routes/dynamic" } }, \
|
"*:9000": { "pass": "routes/main" }, \
|
||||||
"listeners": { "*:9002": { "pass": "routes/static" } }, \
|
"*:9001": { "pass": "routes/dynamic" }, \
|
||||||
"listeners": { "*:9003": { "pass": "routes/direct" } }, \
|
"*:9002": { "pass": "routes/static" }, \
|
||||||
|
"*:9003": { "pass": "routes/direct" } \
|
||||||
|
}, \
|
||||||
"routes": { \
|
"routes": { \
|
||||||
"main": [ \
|
"main": [ \
|
||||||
{ "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \
|
{ "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user