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
+3 -3
View File
@@ -94,9 +94,9 @@ __Tip:__ You can use [File Browser](/serveex/files/file-browser) to navigate and
::
```sh
sudo vi /docker/swag/config/nginx/proxy-confs/immich.subdomain.conf
sudo nano /docker/swag/config/nginx/proxy-confs/immich.subdomain.conf
```
Press `i` to enter insert mode, then paste the following configuration:
Then paste the following configuration:
```nginx
## Version 2023/12/19
@@ -157,7 +157,7 @@ server {
}
```
Press `Esc`, type `:x`, then hit `Enter` to save and exit.
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
That's it! Immich is now accessible from the internet. Dont forget to install the [iOS](https://apps.apple.com/us/app/immich/id1613945652) / [Android](https://play.google.com/store/apps/details?id=app.alextran.immich) apps to sync your devices.
+6 -6
View File
@@ -125,10 +125,10 @@ In Nextclouds files, edit the `config.php` file:
::
```sh
sudo vi /docker/nextcloud/config/www/nextcloud/config/config.php
sudo nano /docker/nextcloud/config/www/nextcloud/config/config.php
```
Enter edit mode with `i` and paste the following before the final `);`:
Paste the following before the final `);`:
```php
'trusted_proxies' => [gethostbyname('swag')],
@@ -146,15 +146,15 @@ array (
),
```
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.
In Swags folders, create the file `nextcloud.subdomain.conf`:
```sh
sudo vi /docker/swag/config/nginx/proxy-confs/nextcloud.subdomain.conf
sudo nano /docker/swag/config/nginx/proxy-confs/nextcloud.subdomain.conf
```
Enter edit mode with `i` and paste the following:
Paste the following:
```nginx
## Version 2024/04/25
@@ -188,7 +188,7 @@ server {
}
```
Press `Esc`, save and exit with `:x` then Enter.
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
Thats it—youve exposed Nextcloud! Dont forget to install [the desktop and mobile apps](https://nextcloud.com/install/).