Switch editing instructions from vim to nano and use kbd for keys
This commit is contained in:
@@ -458,10 +458,10 @@ Create and edit the file `films.subdomain.conf`:
|
||||
::
|
||||
|
||||
```sh
|
||||
sudo vi /docker/swag/config/nginx/proxy-confs/films.subdomain.conf
|
||||
sudo nano /docker/swag/config/nginx/proxy-confs/films.subdomain.conf
|
||||
```
|
||||
|
||||
Enter insert mode by pressing `i`:
|
||||
Paste the following:
|
||||
|
||||
```nginx
|
||||
## Version 2024/07/16
|
||||
@@ -522,7 +522,7 @@ server {
|
||||
}
|
||||
```
|
||||
|
||||
Press `Escape`, then type `:x` and press `Enter` to save and exit.
|
||||
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
|
||||
|
||||
Wait a few minutes, then visit `http://films.mydomain.com` in your browser.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user