Replace Apache by webserver

Dieser Commit ist enthalten in:
andryyy 2018-10-24 19:11:05 +02:00
Ursprung a428dc789a
Commit 6971edf4ca

Datei anzeigen

@ -18,8 +18,8 @@ Recreate affected containers by running `docker-compose up -d`.
!!! info !!! info
Using the site configs below will **forward ACME requests to mailcow** and let it handle certificates itself. Using the site configs below will **forward ACME requests to mailcow** and let it handle certificates itself.
The downside of using mailcow as ACME client behind a reverse proxy is, that you will need to reload Apache after the certificate changed. You can either reload Apache daily or write a script to watch the file for changes. The downside of using mailcow as ACME client behind a reverse proxy is, that you will need to reload your webserver after acme-mailcow changed/renewed/created the certificate. You can either reload Apache daily or write a script to watch the file for changes.
On many servers logrotate will reload Apache2 daily anyway. On many servers logrotate will reload the webserver daily anyway.
If you want to use a local certbot installation, you will need to change the SSL certificate parameters accordingly. If you want to use a local certbot installation, you will need to change the SSL certificate parameters accordingly.
**Make sure you run a post-hook script** when you decide to use external ACME clients. You will find an example at the bottom of this page. **Make sure you run a post-hook script** when you decide to use external ACME clients. You will find an example at the bottom of this page.
@ -158,4 +158,4 @@ postfix_c=$(docker ps -qaf name=postfix-mailcow)
dovecot_c=$(docker ps -qaf name=dovecot-mailcow) dovecot_c=$(docker ps -qaf name=dovecot-mailcow)
nginx_c=$(docker ps -qaf name=nginx-mailcow) nginx_c=$(docker ps -qaf name=nginx-mailcow)
docker restart ${postfix_c} ${dovecot_c} ${nginx_c} docker restart ${postfix_c} ${dovecot_c} ${nginx_c}
``` ```