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

nginx代理kk后,只有pptx预览时显示加载失败。 #548

Open
BlackStarAAA opened this issue Mar 29, 2024 · 0 comments
Open

nginx代理kk后,只有pptx预览时显示加载失败。 #548

BlackStarAAA opened this issue Mar 29, 2024 · 0 comments

Comments

@BlackStarAAA
Copy link

已设置
server.servlet.context-path= /preview
base.url = http://nginx代理地址:代理端口/preview

nginx代理设置
location /preview {
proxy_pass http://kkviewfile的ip地址:8012;
}

从【http://nginx代理地址:代理端口/preview】预览pptx文件时
pptx加载的css等文件没从代理地址【http://nginx代理地址:代理端口/preview】走
直接请求的是【http://nginx代理地址:代理端口/pptx/bootstrap.min.css】没有【/preview】
控制台输出
kkviewfie错误

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

1 participant