-
Notifications
You must be signed in to change notification settings - Fork 39
Disable some unused apache modules #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable some unused apache modules #54
Conversation
…if you have another proxy infront
|
Hey @JonBendtsen , Why are you doing Actually, the dir module adds the "trailing slash" to URLs - can't not having it break Dolibarr at some random point of the future? Also, can't we disable the auth_basic_module? (Or even all auth modules) |
Because disabling the module caused a fail, and I did not want to leave the configuration file in place because I was worried about possible load order and ending up with an DirectoryIndex we did not want. It is configured in the docker-php.conf file that I expect comes from when PHP releases their docker image.
I tried, but I would have to force remove it :-( and in some cases ended up with a container that would not start. |
|
QUESTION So far I removed only loaded apache modules, but there is a whole bunch of available modules that I frankly just don't see we would never use inside a Dolibarr container. Example, all the proxy modules: Not a lot of space saving, but maybe there are other places where we can trim the image. |
I'll take a look on yhat later today
Well, better to keep it then |
Well, I'd say that it's better to remove the proxy modules, as I can't imagine an use case for them... @creekorful, thoughts? |
|
@creekorful , should we also disable the proxy modules? Or better to merge these commits first? |
|
I think
It's already a step forward so let's move on with this :-) |
@JonBendtsen can we move on with disabling all proxy modules then? |
I meant the opposite actually. Let's keep that PR simple so that it is merged fast. We'll see afterwards for the other modules Cheers |
|
Ah, ok, sorry. So... we are just waiting for the PHP issue to be solved, right? Appart from that |
I think those modules are already disabled, but not deleted. |
|
Looks good to me. I will test the changes locally this week and if nothing is broken I will move on and merge this. Thanks for your contribution! |
|
Thank you @JonBendtsen for your contribution and @cibero42 for the feedback! Cheers |
I combined my 2 previous "security" PR and also removed the autoindex module
This PR should replace these 2:
#46
#45