Skip to content

Instantly share code, notes, and snippets.

@fotinakis
Created May 13, 2021 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fotinakis/2dad8b44e03c60bee356bc1fc18fc0e6 to your computer and use it in GitHub Desktop.
Save fotinakis/2dad8b44e03c60bee356bc1fc18fc0e6 to your computer and use it in GitHub Desktop.
Percy GitHub Enterprise - example nginx proxy configuration
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