better ngnix config for resolving files etc.
This commit is contained in:
parent
d9092a7e76
commit
00cb0fe143
3 changed files with 108 additions and 57 deletions
|
|
@ -15,8 +15,18 @@ php /var/www/html/occ --no-warnings config:system:set trusted_proxies 0 --value=
|
|||
php /var/www/html/occ --no-warnings config:system:set trusted_proxies 1 --value="192.168.0.0/16"
|
||||
php /var/www/html/occ --no-warnings config:system:set trusted_proxies 2 --value="10.0.0.0/8"
|
||||
|
||||
# Set trusted domains
|
||||
# Set trusted domains. Add more domains as needed, i.e. for reverse proxy, etc.
|
||||
php /var/www/html/occ --no-warnings config:system:set trusted_domains 0 --value="localhost"
|
||||
php /var/www/html/occ --no-warnings config:system:set trusted_domains 1 --value="my.domain.tld"
|
||||
php /var/www/html/occ --no-warnings config:system:set trusted_domains 3 --value="nextcloud-reverse-proxy"
|
||||
php /var/www/html/occ --no-warnings config:system:set trusted_domains 4 --value="onlyoffice-documentserver"
|
||||
php /var/www/html/occ --no-warnings config:system:set trusted_domains 5 --value="nextcloud"
|
||||
|
||||
# Set the default phone region
|
||||
php /var/www/html/occ --no-warnings config:system:set default_phone_region --value="DE"
|
||||
|
||||
# Set maintenance time
|
||||
php /var/www/html/occ --no-warnings config:system:set maintenance_window_start --type=integer --value=1
|
||||
|
||||
# Set the CLI URL
|
||||
php /var/www/html/occ --no-warnings config:system:set overwrite.cli.url --value="https://my.domain.tld"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue