legacy PHP routing, fast_cgi fixes

This commit is contained in:
Szekeres Bálint
2018-12-18 23:26:57 +01:00
parent 1191637cc6
commit c25228ef53
5 changed files with 36 additions and 15 deletions

View File

@@ -85,14 +85,12 @@ server {<!--
✔ PHP --><span ng-if="isPHP()">
# handle .php
location ~ \.php$ {
try_files $uri =404;<!--
location ~ {{ isLegacyPHPRouting() ? '[^/]\\.php(/|$)' : '\\.php$' }} {<!--
✔ modularized || ✔ WordPress --><span ng-if="isModularized() || isWordPress()">
include nginxconfig.io/php_fastcgi.conf;</span><!--
✔ unified && ✘ WordPress --><span ng-if="isUnified() && !isWordPress()">
<ng-include ng-include-tabs="{{ isUnified() ? 3 : 1 }}" src="'templates/conf/nginxconfig.io/php_fastcgi.conf.html?v=COMMIT_HASH'" onload="refreshHighlighting()"></ng-include></span>
}</span><!--