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.
1 parent b0bcbf0 commit 641b62eCopy full SHA for 641b62e
nginx.production.conf
@@ -46,6 +46,11 @@ server {
46
root /var/www/atonixdev.org/html;
47
index index.html;
48
49
+ # Block common WordPress probe paths (bots will scan these and your SPA fallback would otherwise return 200).
50
+ location ~* ^/(wp-admin|wp-login\.php|xmlrpc\.php|wordpress)(/|$) {
51
+ return 404;
52
+ }
53
+
54
# Handle React Router - all requests to index.html
55
location / {
56
try_files $uri $uri/ /index.html;
0 commit comments