My site certificate only supports non-www addresses. So, when we try to access an image uploaded to the site we are getting a bad certificate warning because there is a ‘www’ in the address. Is there a solution for this?

  • nutomic@lemmy.mlM
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Its possible that certbot messed up something in your nginx config, but i dont see how that would affect the html sent by the server. Did you previously have www.beehaw.org set in docker-compose.yml? Maybe its still using the old setting.

    Otherwise i cant think of anything.

    • suspended@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Did you previously have www.beehaw.org set in docker-compose.yml? Maybe its still using the old setting.

      I may have. I don’t know how it could retain the old setting. Strange. Thanks for helping.

      • nutomic@lemmy.mlM
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        You need to run docker-compose up to reload the settings. With docker-compose restart, it keeps using the old settings.