Correct Readme for AuthType-Basic use.
This commit is contained in:
parent
e613af5262
commit
11bc5c4199
@ -1,14 +1,32 @@
|
||||
Falls eine Authentifizierung `AuthType Basic` für das Wurzelverzeichnis `DocimentRoot` 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:
|
||||
# - 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:
|
||||
|
||||
<Location />
|
||||
AuthType Basic
|
||||
AuthName "Authentification required"
|
||||
AuthUserFile <path-to-htpasswd-file>
|
||||
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.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>
|
||||
|
Loading…
Reference in New Issue
Block a user