anchor.diff:    error_log   /var/log/nginx/<%= @app_name %>.error.log;
   
     index index.php index.htm index.html;
  -  <% if @application[:ssl_support] %>
  +  <% if @application[:enable_ssl] %>
     if ($http_x_forwarded_proto != "https") {
       rewrite ^(.*)$ https://$server_name$1 permanent;
     }
  
positive.code: 
    ssl_certificate /etc/ssl/<%= @application[:domains].first %>.crt;
    ssl_certificate_key /etc/ssl/<%= @application[:domains].first %>.key;
    <% if @application[:ssl_certificate_ca] -%>
    ssl_client_certificate /etc/ssl/<%= @application[:domains].first %>.ca;
    <% end -%>
    <% end -%>
  
negative.code:   listen 80;
    listen [::]:80;
  
    <% if @application[:enable_ssl] %>
  
    listen 443 ssl;
    ssl_protocols TLSv1.2 TLSv1.1 TLSv1; #Turns off TLSv3 to protect against POODLE Attack
  