first commit
This commit is contained in:
commit
29217d93f5
21 changed files with 1177 additions and 0 deletions
18
conf/nginx.conf
Normal file
18
conf/nginx.conf
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
root __INSTALL_DIR__/public;
|
||||
|
||||
index index.php;
|
||||
|
||||
# Common parameter to increase upload size limit in conjunction with dedicated PHP-FPM file
|
||||
client_max_body_size 250M;
|
||||
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.sock;
|
||||
include fastcgi_params_no_auth;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue