Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

转成https上传应该在哪进行配置 #90

Open
Yohansun opened this issue Nov 21, 2016 · 6 comments
Open

转成https上传应该在哪进行配置 #90

Yohansun opened this issue Nov 21, 2016 · 6 comments

Comments

@Yohansun
Copy link

Mixed Content: The page at “https”was loaded over HTTPS, but requested an insecure form action 'http://xxxxx/kindeditor/upload?dir=image'. This request has been blocked; the content must be served over HTTPS.
富文本编译器因我们改成了https 格式报错,想问什么地方可以进行配置吗

@Macrow
Copy link
Owner

Macrow commented Nov 21, 2016

rails_kindeditor 里面只是配置了相对url,并没有指定http或者https,

你用rake routes看看路由,看到底哪里出了问题

@KLoong
Copy link

KLoong commented Aug 24, 2017

我也出现了相同的问题。

@Yohansun
Copy link
Author

我是对域名做了两个配置 http和https

@KLoong
Copy link

KLoong commented Aug 24, 2017

我是在当前的https的域名下面,但是kindeditor的表单生成的是http的链接,这样提交就会报错了。

@Yohansun
Copy link
Author

是的 我们当时看源代码来着 但是好像不了了之了 我们是后台用 后台就增配了http可以打开 https也可以打开 当有表单的时候 默认打开http连接 就不报错了

@clownf
Copy link

clownf commented Feb 20, 2019

有可能是nginx配置问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants