Created
August 15, 2018 02:14
-
-
Save kgust/df1d9ebd6e4cff490f4277dee97aef61 to your computer and use it in GitHub Desktop.
Playing with Docker dynamic frontend servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irbosx-c02q307.dhcp.mc.vanderbilt.edu:80 { | |
gzip | |
fastcgi / 127.0.0.1:9001 php { | |
root /app001/www/irb | |
index web/app_dev.php | |
} | |
} | |
localhost:8000 { | |
root /Users/gustavkd/github.com/vanderbilt/irb/web/ | |
rewrite { | |
to {path} app_dev.php?{query} | |
} | |
fastcgi / localhost:9001 php { | |
index app_dev.php | |
} | |
} | |
portainer.dev { | |
fastcgi / localhost:9002 { | |
root / | |
index index.php | |
ext php | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[frontends] | |
[frontends.frontend1] | |
backend = "some-backend-name" | |
[frontends.frontend1.routes.test_1] | |
rule = "Host: localhost; Method: GET" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment