Community mailing list archives

community@mail.odoo.com

Re: Nginx and barcode problem

by
Indo
- 04/19/2016 02:21:13

Where did you set the fail_timeouts ?

On Apr 19, 2016 1:20 PM, "cubells" <vicent@vcubells.net> wrote:
Hi all:

I have a server with the following nginx configuration:

upstream openerpweb {
     server 127.0.0.1:8069 weight=1 fail_timeout=300s;
}

server {
     listen 80;
     server_name mydomain.net;
     return 301 https://mydomain.net$request_uri;
}
...
...


The "problem" is that when I try to print ean13 product barcode, I've 
got a blank barcode report.

Log shows a 302 redirect:

"GET 
/report/barcode/?type=EAN13&value=8435095319515&width=600&height=200&humanreadable=1 
HTTP/1.0" 302 -

and the barcode is not printed on report.

However, if I browse to the url

https://mydomain.net/report/barcode/?type=EAN13&value=8435095319515&width=600&height=200&humanreadable=1 


I can see the barcode perfectly, so I think is a nginx configuration 
problem.

Can anyone help me with my problem? Any idea?

thanks a lot.

-- 
Atentament, cubells.
--

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe