mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-11-01 10:27:55 +00:00
enable DEVELOPER mode by default
This commit is contained in:
@@ -9,7 +9,8 @@ server {
|
|||||||
|
|
||||||
root /usr/local/www/clonos/public;
|
root /usr/local/www/clonos/public;
|
||||||
set $php_root $document_root;
|
set $php_root $document_root;
|
||||||
client_max_body_size 0;
|
|
||||||
|
client_max_body_size 0; # upload ISO/VM
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
@@ -43,7 +44,8 @@ server {
|
|||||||
fastcgi_param SCRIPT_FILENAME $php_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $php_root$fastcgi_script_name;
|
||||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||||
fastcgi_param WORKDIR /usr/jails;
|
fastcgi_param WORKDIR /usr/jails;
|
||||||
# fastcgi_param APPLICATION_ENV development;
|
|
||||||
|
fastcgi_param APPLICATION_ENV development; # comment to disable DEVELOPER mode:
|
||||||
fastcgi_read_timeout 1200; # keep in sync with PHP max_execution_time = 1200
|
fastcgi_read_timeout 1200; # keep in sync with PHP max_execution_time = 1200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user