diff --git a/conf/nginx.conf b/conf/nginx.conf index 64fc3ba..5cb057b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -39,12 +39,12 @@ location __PATH__/ { } # Deny Access to htaccess-Files for Apache - location ~ /\.ht { + location ~ __PATH__/\.ht { deny all; } # Serve static files - location ~ ^/lib.*\.(gif|png|ico|jpg)$ { + location ~ ^__PATH__/lib.*\.(gif|png|ico|jpg)$ { expires 30d; }