Switch editing instructions from vim to nano and use kbd for keys
This commit is contained in:
@@ -148,10 +148,10 @@ You can use [File Browser](/serveex/files/file-browser) to browse and edit files
|
||||
::
|
||||
|
||||
```sh
|
||||
sudo vi /docker/swag/config/nginx/proxy-confs/adguard.subdomain.conf
|
||||
sudo nano /docker/swag/config/nginx/proxy-confs/adguard.subdomain.conf
|
||||
```
|
||||
|
||||
Edit the file by pressing `i` and then pasting the configuration below:
|
||||
Paste the configuration below:
|
||||
|
||||
```nginx
|
||||
## Version 2023/05/31
|
||||
@@ -237,7 +237,7 @@ You can protect this app with Authentik by opening `adguard.subdomain.conf` and
|
||||
- Under *Advanced Protocol Settings > Authenticated Paths*, enter `^/dns-query`
|
||||
::
|
||||
|
||||
Press `Esc`, then save and exit by typing `:x`
|
||||
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
|
||||
|
||||
And that's it! AdGuard is now exposed!
|
||||
|
||||
|
||||
@@ -148,10 +148,10 @@ In SWAG's config folder, create the file `vault.subdomain.conf`:
|
||||
::
|
||||
|
||||
```sh
|
||||
sudo vi /docker/swag/config/nginx/proxy-confs/vault.subdomain.conf
|
||||
sudo nano /docker/swag/config/nginx/proxy-confs/vault.subdomain.conf
|
||||
```
|
||||
|
||||
Press `i` to edit, and paste the following configuration:
|
||||
And paste the following configuration:
|
||||
|
||||
```nginx
|
||||
server {
|
||||
@@ -237,7 +237,7 @@ server {
|
||||
}
|
||||
```
|
||||
|
||||
Press `Esc`, 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.
|
||||
|
||||
And there you go — Vaultwarden is now exposed! Visit `https://vault.yourdomain.com/admin` to access the admin panel and paste the password you specified when generatique the `ADMIN_TOKEN`. For more information, see the [Bitwarden documentation](https://bitwarden.com/help/).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user