Marius Cramer
2014-04-30 e25e407913f0248ba6d68fa80b001b0f4621d99a
server/conf/nginx_vhost.conf.master
@@ -152,9 +152,22 @@
            fastcgi_intercept_errors on;
        }
</tmpl_else>
   <tmpl_if name='php' op='==' value='hhvm'>
         location @php {
            try_files $uri =404;
            include /etc/nginx/fastcgi_params;
            fastcgi_pass unix:/var/run/hhvm/hhvm.<tmpl_var name='system_user'>.sock;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            #fastcgi_param PATH_INFO $fastcgi_script_name;
            fastcgi_intercept_errors on;
         }
   </tmpl_else>
        location @php {
            deny all;
        }
   </tmpl_if>
</tmpl_if>
      
<tmpl_if name='cgi' op='==' value='y'>