initial commit

This commit is contained in:
Szekeres Bálint
2018-01-07 16:30:12 +01:00
commit 1bbaee1cde
18 changed files with 741 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# index
index {{ data.index_html ? 'index.html ' : '' }}index.php;
# process with {{ data.index_html ? 'index.html, ' : '' }}index.php
location / {
try_files $uri $uri/ {{ data.index_html ? '/index.html ' : '' }}/index.php?$query_string;
}
# handle .php
location ~ \.php$ {<span ng-if="data.file_structure === 'separated'">
include _php_fastcgi.conf;
</span><span ng-if="data.file_structure === 'unified'">
<ng-include src="'templates/_php_fastcgi.conf.html'" onload="refreshHighlighting()"></ng-include></span>
}