№ 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: Q: What do you get when you cross a computer and a JAP (Jewish American Princess)? A: A computer that won't go down.
Leave a Reply