-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from uselagoon/tls-acme
Ignore tls-acme fields in routes
- Loading branch information
Showing
4 changed files
with
90 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# tls-acme boolean value | ||
environments: | ||
main: | ||
monitoring_urls: | ||
- "https://www.example.com" | ||
routes: | ||
- nginx: | ||
- "www.example.com": | ||
tls-acme: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# more complete valid .lagoon.yml | ||
docker-compose-yaml: example-docker-compose.yml | ||
|
||
tasks: | ||
post-rollout: | ||
- run: | ||
name: Post-rollout script | ||
command: /app/scripts/post-rollout.sh | ||
service: cli | ||
|
||
production_routes: | ||
active: | ||
routes: | ||
- nginx: | ||
- "www.example.com": | ||
tls-acme: true | ||
insecure: Redirect | ||
- "de.example.com": | ||
tls-acme: "true" | ||
insecure: Redirect | ||
|
||
standby: | ||
routes: | ||
- nginx: | ||
- "www.standby.example.com": | ||
tls-acme: "false" | ||
insecure: Redirect | ||
- "de.standby.example.com": | ||
tls-acme: "false" | ||
insecure: Redirect | ||
|
||
routes: | ||
autogenerate: | ||
prefixes: | ||
- www | ||
- de | ||
|
||
environments: | ||
production-green: | ||
cronjobs: | ||
- name: drush cron | ||
schedule: "22 * * * *" | ||
command: drush --root=/app/docroot cron | ||
service: cli | ||
production-blue: | ||
cronjobs: | ||
- name: drush cron | ||
schedule: "22 * * * *" | ||
command: drush --root=/app/docroot cron | ||
service: cli | ||
staging: | ||
cronjobs: | ||
- name: drush cron | ||
schedule: "34 * * * *" | ||
command: drush cron | ||
service: cli | ||
routes: | ||
- nginx: | ||
- "www.test.example.com": | ||
tls-acme: false | ||
insecure: Redirect | ||
- "de.test.example.com": | ||
tls-acme: "false" | ||
insecure: Redirect | ||
develop: | ||
routes: | ||
- nginx: | ||
- "www.dev.example.com": | ||
tls-acme: "false" | ||
insecure: Redirect | ||
- "de.dev.example.com": | ||
tls-acme: false | ||
insecure: Redirect |