This commit is contained in:
parent
9af78a3a65
commit
a23008c390
@ -56,8 +56,13 @@ RUN \
|
||||
'{ \
|
||||
"listeners": { "*:8080": { "pass": "routes" } }, \
|
||||
"routes": [ \
|
||||
{ "match": { "uri": "*.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "!*/" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/wp-*.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/xmlrpc.php" }, "action": { "pass": "applications/direct_php" } }, \
|
||||
{ "match": { "uri": "/wp-admin*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/wp-content*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/wp-includes*" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/favicon.ico" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "match": { "uri": "/robots.txt" }, "action": { "share": "/var/www/html" } }, \
|
||||
{ "action": { "pass": "applications/index_php" } } \
|
||||
], \
|
||||
"applications": { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user