command force
This commit is contained in:
@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
# Plugin for attacks mitigation
|
# Plugin for attacks mitigation
|
||||||
|
|
||||||
## Install plugin and enable
|
## Install plugin and enable (force update also)
|
||||||
|
|
||||||
```
|
```
|
||||||
wp plugin install --activate https://s.getcloud.info/n3storm/mitigation/archive/mitigation-0.03.zip
|
wp plugin install --activate https://s.getcloud.info/n3storm/mitigation/archive/mitigation-0.03.zip --force
|
||||||
```
|
```
|
||||||
|
|
||||||
## Enable nginx mitigations
|
## Enable nginx mitigations
|
||||||
@ -23,6 +23,7 @@ server {
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Remove "Server: nginx" at http headers
|
## Remove "Server: nginx" at http headers
|
||||||
|
|
||||||
```
|
```
|
||||||
apt install libnginx-mod-http-headers-more-filter
|
apt install libnginx-mod-http-headers-more-filter
|
||||||
```
|
```
|
||||||
@ -36,6 +37,7 @@ http {
|
|||||||
```
|
```
|
||||||
|
|
||||||
Y después:
|
Y después:
|
||||||
|
|
||||||
```
|
```
|
||||||
service nginx reload
|
service nginx reload
|
||||||
```
|
```
|
Reference in New Issue
Block a user