Docker compose HTTP2 Apache Flask
port 80 is set to redirect.
- $ git clone https://github.com/Ramblec/docker-compose-http2-apache-flask.git
- $ cd docker-compose-http2-apache-flask
- make KEY certification file and CRT certification file and change the two files(/ssl/server.key & /ssl/serve.crt)
- change the content file(/app/main.py) if you need
- $ docker compose up
[If the configuration file does not mount properly]
comment out the line of mounting configuration file in "docker-compose.yml"
$ docker compose up -d
$ docker cp / :/usr/local/apache2/conf/httpd.conf
$ docker exec -it apache-1 apachectl -k restart
$ docker compose restart