mikybars / docker-apache2-letsencrypt Goto Github PK
View Code? Open in Web Editor NEWA Docker container based on the Apache2 official image with SSL enabled and Let's Encrypt setup
A Docker container based on the Apache2 official image with SSL enabled and Let's Encrypt setup
Hola Miguel, me gustaría activar el SSL Reverse-Proxy para poder hacer llamadas a servicios HTTPS desde una web cliente ejecutándose en el Apache de este docker a otro docker (en la misma network de docker) que ejecuta un servidor restful.
He intentado hacer esto en el archivo de configuración "conf/sites-available/midominio-http-le-ssl.conf:
<VirtualHost *:443>
ServerName midominio.es
Include /etc/letsencrypt/options-ssl-apache.conf
ProxyPass / http://dockerestful:8080/
ProxyPassReverse / http://dockerestful:8080/
SSLCertificateFile /etc/letsencrypt/live/midominio/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/midominio/privkey.pem
</VirtualHost>
</IfModule>
Pero me da un error:
web_1 | Error in checking parameter list: AH00526: Syntax error on line 10 of /etc/apache2/sites-enabled/midominio-http-le-ssl.conf:
web_1 | Invalid command 'ProxyPass', perhaps misspelled or defined by a module not included in the server configuration
Este error supongo que será por no tener cargada el modulo SSL:
LoadModule proxy_module modules/mod_proxy.so
de Apache para que funcione el parámetro ProxyPass
Me gustaría tu ayuda para poder cargarlo pues al integrar esta configuración en "conf/mods-avilable/ssl.load" para poder añadir ese LoadModule me han dado otros errores. No soy experto en Apache.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.