We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e89a80 + 38eacc8 commit 4e6606eCopy full SHA for 4e6606e
1 file changed
nginx/default.conf
@@ -157,6 +157,14 @@ server {
157
# End
158
#####
159
160
+ # Protect NPP runtime files
161
+ #################
162
+ location ^~ /wp-content/uploads/nginx-cache-purge-preload-runtime/ {
163
+ deny all;
164
+ access_log off;
165
+ log_not_found off;
166
+ }
167
+
168
# WP Security Settings (Enable on Production)
169
#################
170
# Deny access to hidden files and directories (except .well-known)
@@ -253,4 +261,4 @@ server {
253
261
fastcgi_cache_purge NPP "$scheme$request_method$host$1";
254
262
}
255
263
256
-}
264
+}
0 commit comments