Name and icon code blocks by real filename across the site
This commit is contained in:
@@ -60,7 +60,7 @@ We assume that you have a subdomain `immich.yourdomain.com` with a `CNAME` point
|
||||
|
||||
In Dockge, open the SWAG stack and edit the compose file to add Immich's network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -96,7 +96,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/immich.subdomain.conf
|
||||
```
|
||||
Then paste the following configuration:
|
||||
|
||||
```nginx
|
||||
```nginx [immich.subdomain.conf]
|
||||
## Version 2023/12/19
|
||||
|
||||
server {
|
||||
|
||||
@@ -35,7 +35,7 @@ root
|
||||
|
||||
Open Dockge, click on `compose`, name the stack `nextcloud` and paste the following:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
---
|
||||
services:
|
||||
nextcloud:
|
||||
@@ -69,7 +69,7 @@ id username
|
||||
|
||||
Then fill out the `.env` file with your preferred port and the values found above, for example:
|
||||
|
||||
```properties
|
||||
```properties [.env]
|
||||
PUID=1000
|
||||
GUID=1000
|
||||
PORT=4545
|
||||
@@ -92,7 +92,7 @@ We assume you have a subdomain `nextcloud.yourdomain.com` with a `CNAME` pointin
|
||||
|
||||
In Dockge, go to your SWAG stack and edit the compose to add Nextcloud's network:
|
||||
|
||||
```yaml
|
||||
```yaml [compose.yaml]
|
||||
services:
|
||||
swag:
|
||||
container_name: # ...
|
||||
@@ -128,7 +128,7 @@ sudo nano /docker/nextcloud/config/www/nextcloud/config/config.php
|
||||
|
||||
Paste the following before the final `);`:
|
||||
|
||||
```php
|
||||
```php [config.php]
|
||||
'trusted_proxies' => [gethostbyname('swag')],
|
||||
'overwrite.cli.url' => 'https://nextcloud.example.com/',
|
||||
'overwritehost' => 'nextcloud.example.com',
|
||||
@@ -137,7 +137,7 @@ Paste the following before the final `);`:
|
||||
|
||||
Also add your domain in the `array` section. It should look like this:
|
||||
|
||||
```php
|
||||
```php [config.php]
|
||||
array (
|
||||
0 => '192.168.0.1:444', # This line may differ—don’t change it!
|
||||
1 => 'nextcloud.yourdomain.com', # Add your domain here
|
||||
@@ -154,7 +154,7 @@ sudo nano /docker/swag/config/nginx/proxy-confs/nextcloud.subdomain.conf
|
||||
|
||||
Paste the following:
|
||||
|
||||
```nginx
|
||||
```nginx [nextcloud.subdomain.conf]
|
||||
## Version 2024/04/25
|
||||
server {
|
||||
listen 443 ssl;
|
||||
|
||||
Reference in New Issue
Block a user