Comments (8)
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.
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.
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.
+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.
Submitted upstream ticket ^
from docker-known.
yeah!
from docker-known.
As per the upstream ticket, this can be fixed by updating to 0.6.5.
from docker-known.
Merci beaucoup for taking care of it!
from docker-known.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-known.