Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cshabazian

    (@cshabazian)

    Ok, so for anyone who runs across this in the future, the problem was due to the fact that I am terminating SSL on the proxy, and my backend is on port 80. The fix is to add the following (I put it before Database settings, but you should be able to put it anywhere)

    // ** This is because the front end is https and the back end is http ** //
    $_SERVER['HTTPS'] = 'on';
    Thread Starter cshabazian

    (@cshabazian)

    Just to be clear (because I received a moderator message telling me to post in the correct forum), I am using SELF HOSTED WordPress.org. I assume I got that email because of the “representative URL” I have above. I will change it from .com to .org in future posts to clarify.

    • This reply was modified 4 months ago by cshabazian.
    Thread Starter cshabazian

    (@cshabazian)

    Thanks for the advice. I changed the backend to:

    backend wp.mywordpress.com
    http-request add-header X-Forwarded-Proto https
    http-request add-header X-Forwarded-Host: wp.mywordpress.com
    server wp.mywordpress.com 192.168.1.1:80 check

    And configured the site/home url to https://wp.mywordpress.com but I’m getting too many redirects:
    =====================================

    This page isn’t working

    wp.mywordpress.com redirected you too many times.

    =====================================

    FYI, it DOES now work properly for other links. Example, I click on an entry, and it takes me to it instead of the internal IP address page, so it just seems to be a problem with wp-admin now

    • This reply was modified 4 months ago by cshabazian.
    • This reply was modified 4 months ago by cshabazian.
    • This reply was modified 4 months ago by cshabazian.
    • This reply was modified 4 months ago by cshabazian.
Viewing 3 replies - 1 through 3 (of 3 total)