There is my Config file
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"upgrade.disable-web": true,
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"192.168.0.71",
"127.0.0.1",
"nextcloud-init-sync.lock",
"nextcloud",
"nextcloud.lan",
"nextcloud.<something>.ddnsfree.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "30.0.0.14",
"overwrite.cli.url": "https:\/\/nextcloud.<something>.ddnsfree.com",
"overwriteprotocoll": "https",
"overwirteHost": "nextcloud.<something>.ddnsfree.com",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "AT",
"maintenance_window_start": "1",
"maintenance": false,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"overwritehost": "nextcloud.<something>.ddnsfree.com",
"forbidden_filename_characters": [
"\\",
"\/"
],
"forbidden_filename_extensions": [
".filepart",
".part"
]
}
}
The Problem is that nextcloud says (under the settings)
“Insecure access to the website via HTTP. It is strongly recommended to set up your server so that HTTPS is required. Without HTTPS, some important web functions such as “Copy to clipboard” or “Service Worker” will not work! You can find more information in the documentation .”
(When i change ‘overwrite.cli.url’ => ‘https://nextcloud…ddnsfree.com’, to http://localhost, then the HSTS error occur)
everytime when i change the settings from the apache2 server in the App Container and reboot. The changings are deleted.
Not i have an other problem. I would like to access my Nextcloud via the App and Windows client. and i typed in https://nextcloud…ddnsfree.com and the client says
“The Polling URL does not start with HTTPS despite to login URL start with HTTPS. Login will not be possible because this maiht be a security issue. Please contat your administrator”.