From bc154908fbb702a57be70cb5a6b2c614c9d81c93 Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Fri, 20 Sep 2019 18:55:50 -0300 Subject: [PATCH] better routing --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d4d4c07..35a8535 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" } }, \