Does Crowdsec works in WordPress Multiste Subdomains?
-
I have a WP multiste installation using subdomains. I currently only have the main site mysite.com and a subdomain site sub1.mysite.com.
I installed Crowdsec in my server (Google Cloud, Ubuntu 22.02, NGiNX, PHP 8.1) and have the iptables-firewall-bouncer.
I then installed the Crowdsec WP plugin, network activated, and on the main site I used the API key generated with the csli command in the server. On the main site it passes the Bouncer test and the Geolocation test.
However, if I try to use the same key on the subdomain site, after clicking the Save button, it breaks. Path: sub1.mysite.com/wp-admin/options.php There’s been a critical error on this website.
And, if I try to generate a new API key on the server to be used with the subdomain, I get: FATA[timestamp] unable to create bouncer: bouncer wordpress-bouncer already exists.
I was thinking about installing individual sites on the NGiNX server but, I think I’ll fall into the same restriction as it seem the WP Bouncer key is generated per server, not per website, right?
Or is there any way to make it work with multiple sites on the same server? Either multisite/subdomain or 2-3 single sites.
Gracias,
Eduardo
- The topic ‘Does Crowdsec works in WordPress Multiste Subdomains?’ is closed to new replies.