Welcome! Log In Create A New Profile

Advanced

nginx + keycdn + odoo

Alessio Medici
April 15, 2020 10:16AM
Good morning,
we have a dockerized odoo10 behind a dockerized nginx (jwilder/nginx-proxy).
We have tried to use CDN, but all requests from KeyCDN get a 404 error.
These are the logs from nginx.
We asked for an image: with a direct call (https://54ds-test.clickode.it/web/image/10811/
umberto-oreglini-54-dean-street.JPG) we get:
nginx.1 | 54ds-test.clickode.it 94.32.238.160 - - [25/Mar/2020:15:57:34 +0000] "GET /web/
image/10811/umberto-oreglini-54-dean-street.JPG HTTP/2.0" 200 54767 "-" "Mozilla/5.0 (X11;
Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/80.0.3987.87
Chrome/80.0.3987.87 Safari/537.36"

If we ask the same image through KeyCDN (https://fly54deanstreet-13b2f.kxcdn.com/web/
image/10811/umberto-oreglini-54-dean-street.JPG) we get:
nginx.1 | 54ds-test.clickode.it 185.172.149.101 - - [25/Mar/2020:11:51:49 +0000] "GET /web/
image/10811/umberto-oreglini-54-dean-street.JPG HTTP/1.1" 404 233 "-" "Mozilla/5.0 (X11;
Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/80.0.3987.87
Chrome/80.0.3987.87 Safari/537.36"

Using cUrl and HTTP/1.1 we got:
nginx.1 | 54ds-test.clickode.it 94.32.238.160 - - [25/Mar/2020:12:00:14 +0000] "GET /web/
image/10811/umberto-oreglini-54-dean-street.JPG HTTP/1.1" 200 54767 "-" "curl/7.58.0"

We cannot understand why the request is not fulfilled if it comes from KeyCDN.
Had someone got the same problem?

Thanks in advance.
Alessio
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx + keycdn + odoo

Alessio Medici April 15, 2020 10:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 58
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready