Embed listener for proxy to make it usable for other reverse proxys besides the embedded one
I run an apache instance as reverse proxy in front of all my docker containers. Having the dependency to nginx in gitlab-pages init script makes the setup complicated and not that easy to integrate in some other infrastructure.
- You need to have nginx enabled
- You need to have pages_external_url configured to HTTP not HTTPS (otherwise it will look for certificates and make the whole container fail)
- You need to activate the proxy listener
Especially 1. and 2. took me some hours of trial and error to find out.
After change:
graph LR
A[Apache]-->B[Gitlab Pages Daemon Proxy Listener]
Edited by GitLab Release Tools Bot