I’m running a Gitlab EE installation which forces HTTP to HTTPS with a self-signed SSL certificate. This works fine. On the same host I’m running a docker container with a Jetty webserver, which is bind to localhost:9000, but can deal only with HTTP request. HOw can I add a custom Nginx configuration to the Gitlab Nginx, which can redirect https://myserver:9001/ to http://localhost:9000/ ?
This redirect should use the equal SSL certificate and SSL settings like the default HTTPS definition. I need an additional port listen with another target listen.
Thanks a lot