- Messaggi
- 22,166
- Reazioni
- 14,072
- Punteggio
- 253
io continuo a dirlo: letsencrypt + apache
vecchio, salido, infallibile
vecchio, salido, infallibile
Segui il video qui sotto per vedere come installare il nostro sito come web app sulla tua schermata principale.
Nota: Questa funzionalità potrebbe non essere disponibile in alcuni browser.
Pubblicità
io continuo a dirlo: letsencrypt + apache
vecchio, salido, infallibile
www.digitalocean.com
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName sotto.dominio.it
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/sotto.dominio.it/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/sotto.dominio.it/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://localhost:port/
ProxyPassReverse / http://localhost:port/
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-For "%{REMOTE_ADDR}s"
</VirtualHost>
</IfModule>
ok ma a me il problema me lo da con php 5.2 con lavarel i sotto domini funzionano è che il mio sito principale è in php 5.2Apache è un servizio che dovresti conoscere essendo che usi php.
Letsencrypt ti crea i certificati ( che sono i medesimi di ovh, a meno che tu non paghi bei soldini per certificati più seri ) in base ai virtualhost che trova sulla tua macchina.
Ti linko una guida per la creazione di certificati su apache:
Mentre questa è una conf per un reverse proxy tramite apache di una piattaforma in laravel che gira dentro un container:How To Secure Apache with Let's Encrypt on Ubuntu | DigitalOcean
Let’s Encrypt is a Certificate Authority (CA) that facilitates obtaining and installing free TLS/SSL certificates, thereby enabling encrypted HTTPS on web se…www.digitalocean.com
Configurazione Apache:<IfModule mod_ssl.c> <VirtualHost *:443> ServerName sotto.dominio.it SSLEngine On SSLCertificateFile /etc/letsencrypt/live/sotto.dominio.it/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/sotto.dominio.it/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf ProxyPreserveHost On ProxyRequests Off ProxyPass / http://localhost:port/ ProxyPassReverse / http://localhost:port/ RequestHeader set X-Forwarded-Proto "https" RequestHeader set X-Forwarded-For "%{REMOTE_ADDR}s" </VirtualHost> </IfModule>