Created
May 13, 2021 18:33
-
-
Save fotinakis/2dad8b44e03c60bee356bc1fc18fc0e6 to your computer and use it in GitHub Desktop.
Percy GitHub Enterprise - example nginx proxy configuration
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
daemon off; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
server { | |
listen 443 ssl; | |
location / { | |
deny all; | |
# Allow only Percy inbound connections. | |
# https://docs.percy.io/docs/enterprise-firewalls | |
allow 35.202.184.41; | |
allow 35.202.19.5; | |
allow 35.226.127.204; | |
allow 104.154.145.167; | |
proxy_pass https://INTERNAL_GHE_HOSTNAME_HERE:443; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment