Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
HAPROXY and CloudFront
« previous
next »
Print
Pages: [
1
]
Author
Topic: HAPROXY and CloudFront (Read 88 times)
carlo_gra
Newbie
Posts: 3
Karma: 0
HAPROXY and CloudFront
«
on:
October 28, 2024, 03:18:23 pm »
I've succesfully settled HAProxy on OPNSENS with one frotend and few rules to correctly forward traffic on backend pools (I have two for two different services).
Everything is working properly except cloudfront which is used as CDN for a wordpress website (just for images, css and js).
The main domain points directly to haproxy, the cdn subdomain points to cloudfront.
The mail domain is also settled as "origin" for cloudfront.
When I try to reach cdn.XXXX.TLD I get "502 Bad Gateway".
EDIT:
I did realize that also from GTMetrix I get the same error while on the others (pingdom, my browser, google page speed) everything seems ok.
The frontend uses SSL Offloading, I also used SSL with both wildcard and specific domain.
Any suggestion?
«
Last Edit: October 28, 2024, 06:19:36 pm by carlo_gra
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
HAPROXY and CloudFront