anchor.diff:    listen 80
     <% end %>
   
  -  server_name <%= node['gitlab']['host'] %>;     # e.g., server_name source.example.com;
  +  server_name <%= node['gitlab']['host'] %>;
     root <%= node['gitlab']['app_home'] %>/public;
   
     <% if node['gitlab']['use_https'] %>
  
positive.code: 
  # GITLAB
  # Maintainer: @randx
  # App Version: 5.0
  
  upstream gitlab {
    # fail_timeout=0 means we always retry an upstream even if it failed
  
negative.code: 
  <% if node['gitlab']['use_https'] %>
  server {
      listen 80;
      server_name <%= node['gitlab']['host'] %>;
      return 301 https://$host$request_uri;
  }
  <% end %>
  