By localalex
I have an Omnibus GitLab CE setup with Pages on a second droplet. I am using floating IP for required second IP when enabling custom domains (per this doc). With this setup I am having the following issues with custom domain pages:
I am suspecting I am either misconfigured my gitlab.rb or maybe the DO floating IP isn’t fully/properly working for such setup, so DO droplets ultimately will not support it.
Any help would be hugely appreciated.
external_url 'https://GITLAB.DOMAIN'
nginx['redirect_http_to_https'] = true
pages_external_url "https://PAGES.DOMAIN"
gitlab_pages['enable'] = false
gitlab_rails['pages_path'] = "/mnt/pages"
pages_nginx['redirect_http_to_https'] = true
pages_nginx['ssl_certificate'] = "/etc/letsencrypt/live/PAGES.DOMAIN/fullchain.pem"
pages_nginx['ssl_certificate_key'] = "/etc/letsencrypt/live/PAGES.DOMAIN/privkey.pem"
pages_nginx['enable'] = false
nginx['listen_addresses'] = ['GITLAB_IP']
gitlab_pages['external_http'] = ['GITLAB_FLOATING_IP:80']
gitlab_pages['external_https'] = ['GITLAB_FLOATING_IP:443']
pages_external_url "https://PAGES.DOMAIN"
external_url "http://GITLAB_IP"
postgresql['enable'] = false
redis['enable'] = false
prometheus['enable'] = false
unicorn['enable'] = false
sidekiq['enable'] = false
gitlab_workhorse['enable'] = false
gitaly['enable'] = false
alertmanager['enable'] = false
node_exporter['enable'] = false
gitlab_rails['auto_migrate'] = false
pages_nginx['enable'] = true
pages_nginx['redirect_http_to_https'] = true
pages_nginx['ssl_certificate'] = "/etc/letsencrypt/live/PAGES.DOMAIN/fullchain.pem"
pages_nginx['ssl_certificate_key'] = "/etc/letsencrypt/live/PAGES.DOMAIN/privkey.pem"
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.