• Hello,

    I am trying to setup wp in docker.
    My connection schema is:
    nginx (on host) -> nginx (in docker) -> php in docker
    443 -> 80 -> 9000

    host’s nginx serves many other web sites so I cannot just remove it from equation.
    the problem is that some links (that is from db) are ok (i.e. https://, as expected) and some other (generated by wordpress itself(styles and some js))
    are https:// no matter i tried.

    Thank you.

    • This topic was modified 5 years, 3 months ago by 1qry.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Install the plugin “better search replace”. search for https://example.com in all tables and replace with https://example.com.

    Thread Starter 1qry

    (@1qry)

    Sorry, no, this is not something like links visible from database. The database is fixed already. there are only some links remained, that are generated from the code: styles and js.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If links are “hard coded” in CSS and/or JS files, you’ll have to directly edit those.

    Can you install “Really Simple SSL” plugin and force all URLs as https. Maybe I am not right

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘make wp always use https’ is closed to new replies.