Skip to navigation
Nginx configuration to deny access to all PHP and GIF files specifically within the /pub/media/ location:
29.03.26
location /pub/media/ { location ~* \.(gif|php)$ { deny all; return 403; } }
Reply
Anonymous
Information Epoch 1777128278
Effectiveness beats efficiency.
Home
Notebook
Contact us