1
0
Fork 0
forked from exozyme/nginx

Revert "Add phpLDAPadmin config"

This reverts commit 256fadb9eb.
This commit is contained in:
Anthony Wang 2021-08-01 20:56:30 -05:00
parent 256fadb9eb
commit 42d6a4d658
Signed by untrusted user: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -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
# ";
}
}
}