Changing GitLab's nginx proxy from using port 443 to something else

Hello @nmvega -

Thanks for the detailed response, especially from a mobile phone :wink:. I would agree that you have to weight the cost of maintenance in this customization, as it seems that it is not fully designed to make that particular set of ports easily configurable.

Another option you could try, though I’ve never done so myself and it has a high ā€œmaintenance costā€ in your equation is injecting a custom NGINX configuration with the nginx['custom_nginx_config'] setting. This may allow you to ā€œoverrideā€ or change the settings that GitLab is writing to it’s own NGINX configuration…

I hesitate even saying that as a GitLab team member because it seems to me you could get into a situation that was hard to support, but figured I’d at least note that extra configuration piece if it helps :smile: