OPNsense Forum

English Forums => General Discussion => Topic started by: ilsaul on February 25, 2021, 04:38:08 PM

Title: I need help figuring out the right way to do things
Post by: ilsaul on February 25, 2021, 04:38:08 PM
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
Title: Re: I need help figuring out the right way to do things
Post by: smyers119 on February 25, 2021, 06:01:47 PM
This isn't a opnsense issue, some causes:


There is many resources about this if you search (https://lmgtfy.app/?q=wordpress+mixed+content) it.
Title: Re: I need help figuring out the right way to do things
Post by: ilsaul on February 25, 2021, 09:58:51 PM
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
Title: Re: I need help figuring out the right way to do things
Post by: smyers119 on February 26, 2021, 12:10:20 AM
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.