Last active
July 5, 2018 17:32
-
-
Save AlainODea/c6333da0c5c2a7ecfb804275890dd7cb to your computer and use it in GitHub Desktop.
Nginx redirect server for Okta Apps by CNAME
This file contains hidden or 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{ | |
server_name salesforce.example.com; | |
rewrite ^/(.*) https://example.okta.com/app/salesforce/exkabcdef123451t7/sso/saml permanent; | |
} |
This file contains hidden or 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{ | |
server_name workday.example.com; | |
rewrite ^/(.*) https://example.okta.com/app/workday/exk12345abcdef1t7/sso/saml permanent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment