Code Monkey home page Code Monkey logo

Comments (8)

almereyda avatar almereyda commented on June 3, 2024

That goes together with:

docker logs known
docker-entrypoint.sh: Successfully connected to MySQL service
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.10.10.10. Set the 'ServerName' directive globally to suppress this message

from docker-known.

ehdr avatar ehdr commented on June 3, 2024

I can’t reproduce this at the moment, so more input would be appreciated. Is changing the Apache configuration enough to fix it, or would it also require changes in the Known PHP application (if so, you should also report an issue with the upstream Known project)?

As for Apache configuration, adding an environment variable to set the ServerName at runtime would be fairly trivial. Are any other directives needed?

The Apache site configuration that is currently used for this image is intentionally as simple as possible, and you can have a look at it here:

https://github.com/ehdr/docker-known/blob/master/apache2/sites-available/known.conf

from docker-known.

almereyda avatar almereyda commented on June 3, 2024

You are right that the most easy way would be to render all site specific URIs as relative paths in upstream. Another solution would be to provide manually entering the site's FQDN and protocol. Which in return could then be used for Docker


Now that I take a look at the Apache Virtual Host configuration, if one could just rewrite the content that's serverd - through PHP - without even touching Known from the inside.

I see TLS as a mandatory feature for such an application.

from docker-known.

michielbdejong avatar michielbdejong commented on June 3, 2024

+1 I'm having the same problem running Known behind an SSL offloader, but using a different Dockerfile (which I published a few hours ago).

I think it must be an upstream problem, I'll comment here if/when I find a fix.

from docker-known.

michielbdejong avatar michielbdejong commented on June 3, 2024

Submitted upstream ticket ^

from docker-known.

almereyda avatar almereyda commented on June 3, 2024

yeah!

from docker-known.

michielbdejong avatar michielbdejong commented on June 3, 2024

As per the upstream ticket, this can be fixed by updating to 0.6.5.

from docker-known.

almereyda avatar almereyda commented on June 3, 2024

Merci beaucoup for taking care of it!

from docker-known.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.