Last active
August 29, 2015 14:22
-
-
Save tystr/d34a441bdd4d76a59b57 to your computer and use it in GitHub Desktop.
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
server { | |
listen 80; | |
server_name ~(?<parentjob>[^_]+)_(?<childjob>[^.]+)\.mydomain\.dev; | |
location / { | |
root /var/lib/jenkins/workspace/$parentjob/$childjob/web; | |
return 200 $childjob; | |
try_files $uri /app.php$is_args$args; | |
} | |
} | |
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
$ curl mydomain-test-suite_DEV-214-authentication.mydomain.dev | |
dev-214-authentication |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment