oci-images/mediawiki/config.json

48 lines
870 B
JSON

{
"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/*",
"/w/skins/*"
]
},
"action": {
"share": "/var/www/html$uri"
}
}
],
"applications": {
"php_app": {
"type": "php",
"root": "/var/www/html"
}
}
}