№ 10455 В разделе
Sysadmin
от December 16th, 2019,
В подшивках: Dokuwiki, PHP, Unit
Requests to / and php files goes to application, all other files is static.
{ "listeners": { "*:8300": { "pass": "routes" } }, "applications": { "app": { "type": "php", "user": "www-data", "group": "www-data", "root": "/www/app", "index": "index.php", } }, "routes": [ { "match": { "uri": "/" }, "action": { "pass": "applications/app" } }, { "match": { "uri": "*.php" }, "action": { "pass": "applications/app" } }, { "action": { "share": "/www/app/" } } ] }
Fortune cookie: Today's spam: Free your small instrument from that big handlock.
Leave a Reply