33 lines
1.0 KiB
Markdown
33 lines
1.0 KiB
Markdown
# - Falls eine Authentifizierung `AuthType Basic` für das Wurzelverzeichnis `DocumentRoot`
|
|
# - definiert ist, so muss sichergestellt sein, dass die URI `/.well-known/acme-challenge/`
|
|
# - für die Let's Encrypt Server zur Verifizierung während des Zertifizierungsvorgangs
|
|
# - **ohne Authentifizierung** erreichbar ist:
|
|
|
|
# - Apache 2.2 style
|
|
# -
|
|
<Location />
|
|
AuthType Basic
|
|
AuthName "Authentication Required"
|
|
AuthUserFile "/var/www/borg.oopen.de/.htpasswd"
|
|
Require valid-user
|
|
# - Allow Let's Encrypt Path
|
|
# -
|
|
SetEnvIf Request_URI ^/.well-known/acme-challenge(.*) allow
|
|
Order allow,deny
|
|
Allow from env=allow
|
|
Satisfy any
|
|
</Location>
|
|
|
|
# - Apache 2.4
|
|
# -
|
|
<Location />
|
|
AuthType Basic
|
|
AuthName "Authentication Required"
|
|
AuthUserFile "/var/www/borg.oopen.de/.htpasswd"
|
|
Require valid-user
|
|
# - Allow Let's Encrypt Path
|
|
# -
|
|
SetEnvIf Request_URI ^/.well-known/acme-challenge(.*) allow
|
|
Require env allow
|
|
</Location>
|