Created
March 16, 2020 16:48
-
-
Save yasassri/333fd9bf64db9f10511878581c3ff8ce 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 443 ssl; | |
server_name employee.external.com; | |
ssl_certificate /usr/local/etc/nginx/keys/wso2.crt; | |
ssl_certificate_key /usr/local/etc/nginx/keys/wso2.key; | |
location / { | |
proxy_set_header Host employee.apps-crc.testing; | |
proxy_pass https://192.168.64.7; | |
proxy_redirect https://employee.apps-crc.testing/ https://employee.external.com/; | |
proxy_ssl_name employee.apps-crc.testing; | |
proxy_ssl_server_name on; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment