Closed Cyanat closed 1 year ago
Hi
Well, I think the following block is not needed
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
You're right, thanks. If no other feedback, then I will close this issue and use this solution, will see with time if it respond completely to my needs ;)
Okay, let us know Maybe we could provide a disabled SSL config or redirector That's not really easy Or at least document it with your examples
I would also say it's not necessary to do a Dockerfile, you can mount the files directly and it will work That said it would be good to find another way to not use mod rewrite
Hello! I try to enable https access on the phpmyadmin docker and redirect all http request on https. Here is what I've done
/etc/apache2/ports.conf : I listen ports 80 and 443
/etc/apache2/sites-enabled/ssl.conf : enable mod_ssl and specifying my cert and key
port mapping of my docker-compose:
/etc/apache2/sites-enabled/000-default.conf : I set my redirection
I use the DockerFile to update these files in the container and enabling the rewrite mod:
Well... It seems to work. But I would appreciate some feedback to confirm that this solution is clean and maintainable enough or if we have better solution to do that.
Thanks!