Kcfinder nginx config

Author: refacto
Published:
Categories: Web
Tags:

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;
}

Your email address will not be published. Required fields are marked *

Name *
Email *

This site uses Akismet to reduce spam. Learn how your comment data is processed.