better routing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mauro Torrez 2019-09-20 18:55:50 -03:00
parent a23008c390
commit bc154908fb

View File

@ -56,8 +56,9 @@ RUN \
'{ \
"listeners": { "*:8080": { "pass": "routes" } }, \
"routes": [ \
{ "match": { "uri": "/wp-*.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/xmlrpc.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/wp-*.php" }, "action": { "pass": "applications/direct_php" } }, \
{ "match": { "uri": "/wp-*/" }, "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" } }, \