anchor.diff:    # path for static files
     root <%= current_path %>/public;
   
  +
  +
     try_files $uri/index.html $uri.html $uri @app;
   
  +  location @app {
   
   
  -  location @app {
       proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
       proxy_set_header Host $http_host;
       proxy_set_header X-Forwarded-Proto http;
  
positive.code:     root <%= current_path %>/public;
    }
  }
  
negative.code:     proxy_pass http://<%= fetch(:application) %>_server;
    }
    location ~ ^/(assets)/  {
      gzip on;
      gzip_min_length 1k;
      gzip_buffers 4 16k;
      #gzip_http_version 1.0;
      gzip_comp_level 9;
      gzip_types text/plain application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
      gzip_vary off;
      gzip_disable "MSIE [1-6]\.";
  
      root <%= current_path %>/public;
      gzip_static on; # to serve pre-gzipped version
      expires max;
  