Skip to content

Instantly share code, notes, and snippets.

@kazuho
Created June 19, 2015 01:51
Show Gist options
  • Save kazuho/15754c8e2b2bdc1c8cc5 to your computer and use it in GitHub Desktop.
Save kazuho/15754c8e2b2bdc1c8cc5 to your computer and use it in GitHub Desktop.
file.custom-handler:
fastcgi.connect: /tmp/fcgi.sock
hosts:
"127.0.0.1.xip.io:8080":
listen:
port: 8080
paths:
"/":
file.dir: tmp/uzulla/app1
redirect:
url: /index.php/
internal: YES
status: 307
"/app2":
file.dir: tmp/uzulla/app2
redirect:
url: /app2/index.php/
internal: YES
status: 307
"/form":
file.dir: tmp/uzulla/app1/form
redirect:
url: /form/index.php/
internal: YES
status: 307
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment