Skip to navigation
Veto64/apache2-php8:lates with port 88
05.05.23
services: retail_apache: image: "veto64/apache2-php8:latest" container_name: retail_apache ports: - "80:80" - "443:443" volumes: - "./../:/var/www/html/" - "./cert:/etc/apache2/ssl/" - "./sites-enabled:/etc/apache2/sites-enabled" create a minica certs in certs and create an apache2 000-default.conf file to access it ```console . ├── cert │ ├── minica │ ├── minica-key.pem │ ├── minica.pem │ └── retail.local │ ├── cert.pem │ └── key.pem ├── docker-compose.yml ├── ex.sh ├── id.sh ├── init │ └── retailsql1.sql.gz ├── README.md └── sites-enabled ├── 000-default.conf ```` The ```console
ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on SSLProtocol -ALL +TLSv1 +TLSv1.2 SSLHonorCipherOrder off SSLCipherSuite ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH SSLVerifyDepth 10 SSLCertificateFile "/etc/apache2/ssl/retail.local/cert.pem" SSLCertificateKeyFile "/etc/apache2/ssl/retail.local/key.pem" SSLCACertificateFile "/etc/apache2/ssl/minica.pem"
```
https://myridia.com/dev_posts/view/2389
Reply
Anonymous
Information Epoch 1732432989
Choose portability over efficiency.
Home
Notebook
Contact us