Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
OctoDev Posted September 9, 2016 Posted September 9, 2016 Anyone got the nginx version for this rule? I only have: # IP.Board PHP/CGI Protection # Allow Access to Interface Files # Add Your Specific Application to the List if you Add New Applications location ~^(/applications/(blog|calendar|chat|cms|core|downloads|forums|gallery|nexus|pastebin|companydirectory|rules|videos|notes|iawards|links|pmviewer|readthattopic|rules)/interface/).*(\.php)$ { allow all; include /usr/local/nginx/conf/php.conf; } # Block Access to PHP / PHTML Files location ~ ^/(uploads|datastore|system|plugins)/.*\.(?:php\d*|phtml)$ { deny all; } # Block Access to Application PHP / PHTML Files # Add Your Specific Application to the List if you Add New Applications location ~ ^/applications/(blog|calendar|chat|cms|core|downloads|forums|gallery|nexus|pastebin|companydirectory|rules|videos|notes|iawards|links|pmviewer|readthattopic|rules)/.*\.(?:php\d*|phtml)$ { allow 127.0.0.1; deny all; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.