I need help figuring out the right way to do things

Started by ilsaul, February 25, 2021, 04:38:08 PM

Previous topic - Next topic
Dear All,
I have a website wordpress expose port 80 on lan
I install Lets Encrypt and HAProxy plugin on opnSense.
HAProxy forward the traffic from port 80 to my website by default except letz encrypt folder for test SSL
HAProxy Intercept https (443) request and convert them to http and forward them to my website.
I enable reflection on lan for access https and http like wan.

This system to expose web server is correct?

Because I receive a "Mix Content". WordPress continue to give me a content in http (css, js, image).

best regards
Saul

This isn't a opnsense issue, some causes:


  • absolute path's used for links
  • hardcoded links to images that are http
  • linking to external http libraries
  • embedded videos that are http

There is many resources about this if you search it.

Sorry maybe my last sentence make you to understand wrong my question.

my question is whether my settings are okay or is there a better solution?

thanks
Saul

Solutions aren't one size fit all, they are personalized to every situation.  If it is working for you I wouldn't worry about it.