Skip to Content
Menu
This question has been flagged
2 Replies
6859 Zobrazenia

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?

Avatar
Zrušiť
Best Answer

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.

Avatar
Zrušiť
Autor Best Answer

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.
Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
máj 24
16093
4
okt 21
11441
0
dec 16
5560
0
sep 16
4575
3
jún 25
1753