-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to add arbitrary vhost and location directives through 2 seperate configurations in ood_portal.yml.
- Loading branch information
Showing
23 changed files
with
674 additions
and
0 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
18 changes: 18 additions & 0 deletions
18
ood-portal-generator/spec/fixtures/input/custom_directives.yml
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,18 @@ | ||
--- | ||
auth: | ||
- 'AuthType openid-connect' | ||
- 'Require valid-user' | ||
|
||
custom_location_directives: | ||
- 'SetEnv SPECIAL_LOCATION_ENV_VAR custom_location' | ||
- 'SetEnv SECOND_LOCATION_VAR custom_location2' | ||
- ' SetEnv INDENTED_LOCATION_VAR custom_location3' | ||
|
||
custom_vhost_directives: | ||
- SetEnv SPECIAL_VHOST_ENV_VAR custom_vhost | ||
- SetEnv SECOND_VHOST_VAR custom_vhost2 | ||
- ' SetEnv INDENTED_VHOST_VAR custom_vhost3' | ||
- '<Location "/foo">' | ||
- ' SetEnv SPECIAL_VHOST_LOCATION_ENV_VAR custom_vhost4' | ||
- '</Location>' | ||
|
8 changes: 8 additions & 0 deletions
8
ood-portal-generator/spec/fixtures/input/custom_location_directives.yml
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,8 @@ | ||
--- | ||
auth: | ||
- 'AuthType openid-connect' | ||
- 'Require valid-user' | ||
|
||
custom_location_directives: | ||
- SetEnv SPECIAL_LOCATION_ENV_VAR custom_location | ||
- SetEnv SECOND_LOCATION_VAR custom_location2 |
9 changes: 9 additions & 0 deletions
9
ood-portal-generator/spec/fixtures/input/custom_vhost_directives.yml
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 @@ | ||
--- | ||
auth: | ||
- 'AuthType openid-connect' | ||
- 'Require valid-user' | ||
|
||
custom_vhost_directives: | ||
- SetEnv SPECIAL_VHOST_ENV_VAR custom_vhost | ||
- SetEnv SECOND_VHOST_VAR custom_vhost2 | ||
|
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
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
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
Oops, something went wrong.