Nginx: protected directory: quote paths and values (TEMPLATES)

Version 1.62.5

Bugfix
Finished

Related to the change to the internal "location" structure management from 1.62.0: https://www.directadmin.com/features.php?id=2910 preventing the use of the location "PROTECTED_PATH" part of the nginx_protected_directory.conf (it still uses the template, but only bits between {} This change puts quotes around the location's value, eg: location ~ "^(/protected)(/.*)?$" and the template will be changed to put quotes around the auth_basic_user_file value. ---- T34129

Interested to try DirectAdmin? Get a 30-day Free Trial!