Azurel
Silver Pleskian
Hey,
for subdomain cdn.example.com
I have set on
- Proxy mode
- Smart static files processing
- Serve static files directly by nginx
in "Additional nginx directives" I put "deny all;" and all image requests get a 403 from nginx. Now I want block requests for a single folder
	
	
	
		
but all request like with cdn.example.com/images/picture.png get status code 200. I have access to the images. What is here my big mistake?
OR
I set off
- Smart static files processing
- Serve static files directly by nginx
and in "Additional Apache directives"
	
	
	
		
but all request like with cdn.example.com/images/picture.png get status code 200. Only php access cdn.example.com get a error page. Why is here still nginx processing the static files?!
				
			for subdomain cdn.example.com
I have set on
- Proxy mode
- Smart static files processing
- Serve static files directly by nginx
in "Additional nginx directives" I put "deny all;" and all image requests get a 403 from nginx. Now I want block requests for a single folder
		Code:
	
	location ~* ^/images/ {
deny all;
}OR
I set off
- Smart static files processing
- Serve static files directly by nginx
and in "Additional Apache directives"
		Code:
	
	<Directory /var/www/vhosts/example.com/httpdocs>
    Order allow,deny
    Deny from all
</Directory>
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
 
		 
 
		 
 
		 
 
		