Closed samuelvogel closed 9 years ago
Looks fine to me, will check this later today.
Thanks @samuelvogel :+1:
After merging I was thinking about creating a variable for the esd key to get rid of the hardcoded value in global/shopware.con
.
# sites-available/example.com.conf
set $shopware_esd_key '552211cce724117c3178e3d22bec532ec';`
# global/shopware.con
location ^~ /files/$shopware_esd_key/ {
internal;
}
Unfortunately that seems not possible with plain Nginx config.
Edit: Created an issue for that: https://github.com/bcremer/shopware-with-nginx/issues/9
The
PHP
setting is the default anyways, so restricting direct access should not be a problem.