initial commit
This commit is contained in:
commit
b65642cd0a
18 changed files with 1543 additions and 0 deletions
15
nginx.conf.template
Normal file
15
nginx.conf.template
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
server {
|
||||
index index.html index.php;
|
||||
root {{ROOT_PATH}};
|
||||
server_name {{SERVER_NAME}};
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass unix:{{PHP_SOCKET}};
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue