forked from exozyme/nginx
parent
256fadb9eb
commit
42d6a4d658
1 changed files with 0 additions and 27 deletions
|
@ -41,31 +41,4 @@ server {
|
|||
expires 33d;
|
||||
}
|
||||
}
|
||||
|
||||
location /phpldapadmin {
|
||||
alias /usr/share/webapps/phpldapadmin;
|
||||
index index.php;
|
||||
|
||||
location ~ \.php$ {
|
||||
if (!-f $request_filename) {
|
||||
return 404;
|
||||
}
|
||||
expires epoch;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
fastcgi_intercept_errors on;
|
||||
|
||||
fastcgi_read_timeout 120s;
|
||||
fastcgi_send_timeout 120s;
|
||||
|
||||
fastcgi_index index.php;
|
||||
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
||||
|
||||
# fastcgi_param PHP_VALUE "
|
||||
# max_execution_time=300
|
||||
# max_input_time=300
|
||||
# post_max_size=16M
|
||||
# ";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue