跳至内容
菜单
此问题已终结
2 回复
6849 查看

Hello, I'm tryng ssl configuration wich Nginx, and return me mixed content images and pdf in slide module not show the entery pdf, only the first page.

System is ubuntu 16.04, Nginx 1.10 and odoo 10.

I think the problem is in Nginx configuration. Someone have one configuration run ok in slides module?

形象
丢弃
最佳答案

Hi, I'm fighting with exactly the same problem. I also followed Daniel Reis' book. Do you mean the caching section or the proxy_buffers and proxy_buffer_size settings? Also do I have to restart, rebuild odoo or do anything else, so the links are being corrected? So far, I tried many different nginx settings, but with no success. I should mention, that I have the proxy_set_header X-Forwarded-Proto $scheme setting as well, so the https scheme should get forwarded.

形象
丢弃
编写者 最佳答案

I solve it, my Nginx configurations was the same of Daniel Rees book, Odoo 10 development essentials. In that configuratión there are buffering directives, and this is the problem

For some reason I do not know, with directional buffers, Nginx sends mixed content, http and https, http in images and href links.
Fixed, deleting all buffer directives.
形象
丢弃
相关帖文 回复 查看 活动
3
5月 24
16083
4
10月 21
11437
0
12月 16
5546
0
9月 16
4567
3
6月 25
1749