Skip to content

Fix gitlab-ssl nginx config to work when multiple server_names are served over https

Created by: stetskevych

In a situation when you have several HTTPS sites served by nginx, you cannot use $server_name in the redirect, because it will always resolve to the first server_name specified in the config. $http_host works in this scenario.

Merge request reports