This commit is contained in:
parent
e3cbe7bac8
commit
ef113904ad
@ -33,6 +33,9 @@ RUN set -ex; \
|
||||
php-memcached \
|
||||
php-redis \
|
||||
php-imagick \
|
||||
php-xml \
|
||||
php-mbstring \
|
||||
php-curl \
|
||||
; \
|
||||
\
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
@ -101,6 +104,18 @@ RUN \
|
||||
'{ \
|
||||
"listeners": { "*:9000": { "pass": "routes" } }, \
|
||||
"routes": [ \
|
||||
{ "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/cron.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/index.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/public.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/remote.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/status.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/version.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/core/img/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/core/css/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/core/fonts/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/core/js/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/themes/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "action": { "pass": "applications/index_php" } } \
|
||||
], \
|
||||
"applications": { \
|
||||
@ -111,6 +126,14 @@ RUN \
|
||||
"group": "www-data", \
|
||||
"root": "/var/www/html", \
|
||||
"script": "index.php" \
|
||||
}, \
|
||||
"direct_php": { \
|
||||
"type": "php", \
|
||||
"processes": { "max": 5, "spare": 0 }, \
|
||||
"user": "www-data", \
|
||||
"group": "www-data", \
|
||||
"root": "/var/www/html", \
|
||||
"index": "index.php" \
|
||||
} \
|
||||
} \
|
||||
}' \
|
||||
|
@ -33,6 +33,9 @@ RUN set -ex; \
|
||||
php-memcached \
|
||||
php-redis \
|
||||
php-imagick \
|
||||
php-xml \
|
||||
php-mbstring \
|
||||
php-curl \
|
||||
; \
|
||||
\
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
@ -101,6 +104,18 @@ RUN \
|
||||
'{ \
|
||||
"listeners": { "*:9000": { "pass": "routes" } }, \
|
||||
"routes": [ \
|
||||
{ "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/cron.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/index.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/public.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/remote.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/status.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/version.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/core/img/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/core/css/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/core/fonts/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/core/js/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/themes/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "action": { "pass": "applications/index_php" } } \
|
||||
], \
|
||||
"applications": { \
|
||||
@ -111,6 +126,14 @@ RUN \
|
||||
"group": "www-data", \
|
||||
"root": "/var/www/html", \
|
||||
"script": "index.php" \
|
||||
}, \
|
||||
"direct_php": { \
|
||||
"type": "php", \
|
||||
"processes": { "max": 5, "spare": 0 }, \
|
||||
"user": "www-data", \
|
||||
"group": "www-data", \
|
||||
"root": "/var/www/html", \
|
||||
"index": "index.php" \
|
||||
} \
|
||||
} \
|
||||
}' \
|
||||
|
@ -33,6 +33,9 @@ RUN set -ex; \
|
||||
php-memcached \
|
||||
php-redis \
|
||||
php-imagick \
|
||||
php-xml \
|
||||
php-mbstring \
|
||||
php-curl \
|
||||
; \
|
||||
\
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
@ -101,6 +104,18 @@ RUN \
|
||||
'{ \
|
||||
"listeners": { "*:9000": { "pass": "routes" } }, \
|
||||
"routes": [ \
|
||||
{ "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/cron.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/index.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/public.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/remote.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/status.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/version.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/core/img/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/core/css/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/core/fonts/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/core/js/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/themes/*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "action": { "pass": "applications/index_php" } } \
|
||||
], \
|
||||
"applications": { \
|
||||
@ -111,6 +126,14 @@ RUN \
|
||||
"group": "www-data", \
|
||||
"root": "/var/www/html", \
|
||||
"script": "index.php" \
|
||||
}, \
|
||||
"direct_php": { \
|
||||
"type": "php", \
|
||||
"processes": { "max": 5, "spare": 0 }, \
|
||||
"user": "www-data", \
|
||||
"group": "www-data", \
|
||||
"root": "/var/www/html", \
|
||||
"index": "index.php" \
|
||||
} \
|
||||
} \
|
||||
}' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user