Skip to content

Instantly share code, notes, and snippets.

@kazuho kazuho/h2o.conf
Created Jun 19, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.