anchor.diff:  server {
     listen 80;
     server_name <%= @server_name %>;
  -  rewrite ^(.*) https://$host$1 permanent;
  +  return 301 https://$server_name$request_uri;
   }
   <% end %>
positive.code: server {
    listen <%= @listen %>;
    <% if @server_name %>
    server_name <%= @server_name %>;
    <% end %>
  
negative.code:   <% if @client_body_buffer_size %>
    client_body_buffer_size <%= @client_body_buffer_size %>;
    <% end %>
  
    gzip_static on;
  
    <% if @ssl_certificate %>
  