Merge pull request #8275 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot 2021-07-16 00:09:12 +10:00 коммит произвёл GitHub
Родитель ee40863199 df2b00e935
Коммит 6caf586de9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -70,7 +70,7 @@ The UFW firewall also opens several other ports that are required for {% data va
```
3. To back up your custom firewall rules, use the `cp`command to move the rules to a new file.
```shell
$ sudo cp -r /lib/ufw ~/ufw.backup
$ sudo cp -r /etc/ufw ~/ufw.backup
```
After you upgrade {% data variables.product.product_location %}, you must reapply your custom firewall rules. We recommend that you create a script to reapply your firewall custom rules.
@ -88,7 +88,7 @@ If something goes wrong after you change the firewall rules, you can reset the r
{% data reusables.enterprise_installation.ssh-into-instance %}
2. To restore the previous backup rules, copy them back to the firewall with the `cp` command.
```shell
$ sudo cp -f ~/ufw.backup/*rules /lib/ufw
$ sudo cp -f ~/ufw.backup/*rules /etc/ufw
```
3. Restart the firewall with the `systemctl` command.
```shell