move LE challenge root outside webroot
This commit is contained in:
@@ -15,7 +15,7 @@ server {
|
||||
error_log /var/log/nginx/LetsEncrypt_error.log warn;
|
||||
|
||||
default_type text/plain;
|
||||
root /usr/share/nginx/html/letsencrypt;
|
||||
root /LEChallenge;
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ server {
|
||||
error_log /var/log/nginx/LetsEncrypt_error.log warn;
|
||||
|
||||
default_type text/plain;
|
||||
root /usr/share/nginx/html/letsencrypt;
|
||||
root /LEChallenge;
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user