Switch editing instructions from vim to nano and use kbd for keys

This commit is contained in:
Djeex
2026-08-30 18:49:10 +02:00
parent 2608bf64eb
commit bb1a482a8d
50 changed files with 210 additions and 210 deletions
@@ -162,10 +162,10 @@ Inside the Swag config folders, create the file `code.subdomain.conf`.
::
```sh
sudo vi /docker/swag/config/nginx/proxy-confs/code.subdomain.conf
sudo nano /docker/swag/config/nginx/proxy-confs/code.subdomain.conf
```
Enter insert mode with `i` and paste the following configuration:
Paste the following configuration:
```nginx
## Version 2023/12/19
@@ -217,7 +217,7 @@ server {
}
```
Press `Esc`, then save and exit by typing `:x` and pressing `Enter`.
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
Thats it — code-server is now exposed!
@@ -114,9 +114,9 @@ Inside the Swag folders, create the file `gitea.subdomain.conf`.
::
```sh
sudo vi /docker/swag/config/nginx/proxy-confs/gitea.subdomain.conf
sudo nano /docker/swag/config/nginx/proxy-confs/gitea.subdomain.conf
```
Press `i` to enter edit mode and paste the configuration below:
Paste the configuration below:
```nginx
## Version 2023/12/19
@@ -175,15 +175,15 @@ server {
}
```
Press `Esc`, then save and exit by typing `:x` and hitting `Enter`.
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
Now open the `app.ini` file from the container's file system:
```sh
sudo vi /docker/gitea/data/gitea/conf/app.ini
sudo nano /docker/gitea/data/gitea/conf/app.ini
```
Press `i` to edit, then modify the server section with your domain information:
Then modify the server section with your domain information:
```properties
[server]
@@ -192,7 +192,7 @@ SSH_DOMAIN = gitea.yourdomain.com
ROOT_URL = https://gitea.yourdomain.com/
```
Press `Esc`, save and exit with `:x`, then restart the container.
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit, then restart the container.
And thats it! Gitea is now exposed to the web.
@@ -102,10 +102,10 @@ Inside the Swag folders, create the file `tools.subdomain.conf`.
::
```sh
sudo vi /docker/swag/config/nginx/proxy-confs/tools.subdomain.conf
sudo nano /docker/swag/config/nginx/proxy-confs/tools.subdomain.conf
```
Enter edit mode by pressing `i` and paste the configuration below:
Paste the configuration below:
```nginx
## Version 2023/12/19
@@ -158,7 +158,7 @@ server {
}
```
Press `Esc`, then save and exit by typing `:x` and pressing `Enter`.
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
And thats it — IT Tools is now exposed!