Created
January 9, 2017 15:06
-
-
Save jegade/f010388c510116e8b5ac2a9ff4fdc52d 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
https://git.example.com { | |
tls email@example.com | |
log git.access.log { | |
rotate | |
} | |
proxy / gitlab:80 { | |
fail_timeout 300s | |
proxy_header Host {host} | |
proxy_header X-Real-IP {remote} | |
proxy_header X-Forwarded-Proto {scheme} | |
proxy_header X-Forwarded-Ssl on | |
} | |
} | |
https://hub.example.com:5005 { | |
tls email@example.com | |
log git.access.log { | |
rotate | |
} | |
proxy / registry:5000 { | |
fail_timeout 300s | |
proxy_header Host {host} | |
proxy_header X-Real-IP {remote} | |
proxy_header X-Forwarded-Proto {scheme} | |
proxy_header X-Forwarded-Ssl on | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment