tune nextcloud routing
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
eb11b1311c
commit
f90710a1cb
@ -117,18 +117,45 @@ RUN \
|
|||||||
}, \
|
}, \
|
||||||
"routes": { \
|
"routes": { \
|
||||||
"main": [ \
|
"main": [ \
|
||||||
{ "match": { "uri": "/console.php" }, "action": { "pass": "applications/direct_php" } }, \
|
{ \
|
||||||
{ "match": { "uri": "/cron.php" }, "action": { "pass": "applications/direct_php" } }, \
|
"match": { \
|
||||||
{ "match": { "uri": "/index.php" }, "action": { "pass": "applications/direct_php" } }, \
|
"uri": [ \
|
||||||
{ "match": { "uri": "/public.php" }, "action": { "pass": "applications/direct_php" } }, \
|
"/index.php*", \
|
||||||
{ "match": { "uri": "/remote.php" }, "action": { "pass": "applications/direct_php" } }, \
|
"/remote.php*", \
|
||||||
{ "match": { "uri": "/status.php" }, "action": { "pass": "applications/direct_php" } }, \
|
"/public.php*", \
|
||||||
{ "match": { "uri": "/version.php" }, "action": { "pass": "applications/direct_php" } }, \
|
"/cron.php*", \
|
||||||
{ "match": { "uri": "/core/img/*" }, "action": { "share": "/var/www/html" } }, \
|
"/core/ajax/update.php*", \
|
||||||
{ "match": { "uri": "/core/css/*" }, "action": { "share": "/var/www/html" } }, \
|
"/status.php*", \
|
||||||
{ "match": { "uri": "/core/fonts/*" }, "action": { "share": "/var/www/html" } }, \
|
"/ocs/v1.php*", \
|
||||||
{ "match": { "uri": "/core/js/*" }, "action": { "share": "/var/www/html" } }, \
|
"/ocs/v2.php*", \
|
||||||
{ "match": { "uri": "/themes/*" }, "action": { "share": "/var/www/html" } }, \
|
"/updater/*.php", \
|
||||||
|
"/ocs-provider/*.php", \
|
||||||
|
"/ocm-provider/*.php" \
|
||||||
|
] \
|
||||||
|
}, \
|
||||||
|
"action": { "pass": "applications/direct_php" } \
|
||||||
|
}, \
|
||||||
|
{ \
|
||||||
|
"match": { \
|
||||||
|
"uri": [ \
|
||||||
|
"*.css", \
|
||||||
|
"*.js", \
|
||||||
|
"*.woff", \
|
||||||
|
"*.woff2", \
|
||||||
|
"*.svg", \
|
||||||
|
"*.gif", \
|
||||||
|
"*.map", \
|
||||||
|
"*.png", \
|
||||||
|
"*.html", \
|
||||||
|
"*.ttf", \
|
||||||
|
"*.ico", \
|
||||||
|
"*.jpg", \
|
||||||
|
"*.jpeg", \
|
||||||
|
"*.bcmap" \
|
||||||
|
] \
|
||||||
|
}, \
|
||||||
|
"action": { "share": "/var/www/html" } \
|
||||||
|
}, \
|
||||||
{ "action": { "pass": "applications/index_php" } } \
|
{ "action": { "pass": "applications/index_php" } } \
|
||||||
], \
|
], \
|
||||||
"static": [ \
|
"static": [ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user