Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Haproxy and Cloudfront
« previous
next »
Print
Pages: [
1
]
Author
Topic: Haproxy and Cloudfront (Read 50 times)
carlo_gra
Newbie
Posts: 3
Karma: 0
Haproxy and Cloudfront
«
on:
October 29, 2024, 07:21:46 am »
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?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Haproxy and Cloudfront