Nginx: Add missing variables in subdirectory config template.
Nginx: Fix spacing
Nginx: Helper locations to avoid 404 on legacy images paths (subdir only)