User Tools

Site Tools


pikvm:https_certificates_for_services_on_other_machines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pikvm:https_certificates_for_services_on_other_machines [2025/02/15 23:22] adminpikvm:https_certificates_for_services_on_other_machines [2025/02/16 00:51] (current) admin
Line 31: Line 31:
         proxy_set_header x-forwarded-proto https;         proxy_set_header x-forwarded-proto https;
         proxy_set_header front-end-https on;         proxy_set_header front-end-https on;
 +        client_max_body_size 20m;
         proxy_pass http://192.168.1.150:30027;         proxy_pass http://192.168.1.150:30027;
         }         }
Line 46: Line 47:
   }   }
 } }
 +```
 +
 +## Service configurations
 +
 +### nextcloud
 +
 +Edit the `config.php` for example in the container nextcloud is running in: 
 +
 +```php
 +  [...],
 +  'trusted_domains' => 
 +  array (
 +    0 => '127.0.0.1',
 +    1 => 'localhost',
 +    2 => 'nextcloud',
 +    3 => 'opensky.machine-deck.jeffries-tube.at',
 +  ),
 +  'overwriteprotocol' => 'https',
 +  'trusted_proxies' => ['192.168.1.235'],
 +  'forwarded_for_headers' => ['HTTP_X_FORWARDED', 'X_REAL_IP', 'FRONT_END_HTTPS', 'X_FORWARDED_PROTO'],
 ``` ```
pikvm/https_certificates_for_services_on_other_machines.1739658139.txt.gz · Last modified: by admin