Kcfinder nginx config
Author: refactoPublished:
Categories: Web
Tags: kcfinder • nginx
Location browse.php and upload.php: /home/user/www/backend/web/js/ckeditor/kcfinder
location ~* ^/js/ckeditor/kcfinder/(.+\.php)$ {
alias /home/user/www/backend/web/js/ckeditor/kcfinder;
include fastcgi.conf; // or fastcgi_params
try_files $uri /backend/web/js/ckeditor/kcfinder/$1?$args;
}
location ~* ^/(.+\.php)$ {
try_files $uri /backend/web/$1?$args;
}