Apache CKEditor WolfCMS的文件管理器不使用Nginx

Apache CKEditor WolfCMS的文件管理器不使用Nginx,apache,nginx,url-rewriting,ckeditor,Apache,Nginx,Url Rewriting,Ckeditor,我将WolfCMS从Apache迁移到了Nginx。除了CKEditor文件管理器插件外,一切正常。当打开CKEditor的浏览器服务器框时,我看到没有指定输入文件。所有其他友好URL,重写工作正常,没有任何问题。因此,我假设问题与错误的Nginx配置有关 以下是Apache的重写: RewriteEngine On # Set next line to your Wolf CMS root - if not in subdir, then just / #RewriteBase /wolfcm

我将WolfCMS从Apache迁移到了Nginx。除了CKEditor文件管理器插件外,一切正常。当打开CKEditor的
浏览器服务器
框时,我看到
没有指定输入文件。
所有其他友好URL,重写工作正常,没有任何问题。因此,我假设问题与错误的Nginx配置有关

以下是Apache的重写:

RewriteEngine On
# Set next line to your Wolf CMS root - if not in subdir, then just /
#RewriteBase /wolfcms/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Main URL rewriting.
RewriteRule ^(.*)$ index.php?WOLFPAGE=$1 [L,QSA]
对于Nginx文档仅说明:

#Put the following code in your server block:

try_files $uri $uri/ /index.php?WOLFPAGE=$uri&$args;
这就是我所做的。在Nginx中不起作用的文件管理器URL为:

/wolf\u ckeditor/filemanager/index.php?type=Images&ckeditor=part\u 0\u content&CKEditorFuncNum=1&langCode=de

=>导致未指定输入文件。


关于如何修改我的Nginx配置以使其再次工作,您有什么建议吗?

您可以试试这个(请记住在更改后重新加载或重新启动Nginx)不工作。当使用它时,它会在请求/admin时下载实际的php文件。