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 1777730358
Solving the next 5% probably costs more than the previous 90%.
Home
Notebook
Contact us