mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 20:33:43 +08:00
major refactor
This commit is contained in:
14
public/templates/conf/_php.conf.html
Normal file
14
public/templates/conf/_php.conf.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!--
|
||||
✔ modularized --><span ng-if="isModularized()"># index
|
||||
index {{ isIndexHtml() ? 'index.html ' : '' }}index.php;
|
||||
|
||||
</span><!--
|
||||
|
||||
--># handle .php
|
||||
location ~ \.php$ {<!--
|
||||
✔ modularized || ✔ WordPress --><span ng-if="isModularized() || isWordPress()">
|
||||
include _php_fastcgi.conf;</span><!--
|
||||
|
||||
✔ unified && ✘ WordPress --><span ng-if="isUnified() && !isWordPress()">
|
||||
<ng-include ng-include-tabs="{{ isUnified() ? 3 : 1 }}" src="'templates/conf/_php_fastcgi.conf.html'" onload="refreshHighlighting()"></ng-include></span>
|
||||
}
|
Reference in New Issue
Block a user