2024-10-26 12:09:50 -05:00
|
|
|
{
|
|
|
|
"listeners": {
|
|
|
|
"*:80": {
|
|
|
|
"pass": "routes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"uri": [
|
|
|
|
"/w/index.php",
|
|
|
|
"/w/load.php",
|
|
|
|
"/w/api.php",
|
|
|
|
"/w/thumb.php",
|
|
|
|
"/w/opensearch_desc.php",
|
|
|
|
"/w/rest.php",
|
|
|
|
"/w/img_auth.php",
|
|
|
|
"/w/rest.php/*",
|
|
|
|
"/w/mw-config/*.php"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"action": {
|
|
|
|
"pass": "applications/php_app"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"uri": [
|
|
|
|
"/w/images/*",
|
|
|
|
"/w/resources/assets/*",
|
|
|
|
"/w/resources/lib/*",
|
|
|
|
"/w/resources/src/*",
|
|
|
|
"/w/extensions/*",
|
2024-11-09 14:31:04 -06:00
|
|
|
"/w/skins/*",
|
|
|
|
"favicon.ico"
|
2024-10-26 12:09:50 -05:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"action": {
|
|
|
|
"share": "/var/www/html$uri"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"applications": {
|
|
|
|
"php_app": {
|
|
|
|
"type": "php",
|
|
|
|
"root": "/var/www/html"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|