Nextcloud 15.0.5
Centos 7
Nginx (Webserver amd reverse proxy)
PHP 7.2
Problem with : Theming 1.6.0
I find myself unable to use the theming app to change my nextcloud’s theme. Locally I can edit everything without any trouble but the moment I make it available behind my reverse proxy, it just does not happen. I am not interested in using the theme folder as it’s really just to change colour when I feel like it.
I have another nextcloud (14.0.1) instance running that does not have this problem even though they are configured the same way, except for versions. Theming app version 1.5.0.
There are no error in the logs.
config.php
'trusted_domains' =>
array (
0 => '192.168.0.14',
1 => 'example.org',
),
'datadirectory' => '/data',
'dbtype' => 'mysql',
'version' => '15.0.5.3',
'trusted_proxies' =>
array (
0 => '192.168.0.19',
),
'overwrite.cli.url' => 'https://example.org',
'overwritehost' => 'example.org',
'overwriteprotocol' => 'https',
'overwritewebroot' => '/nextcloud',
'overwritecondaddr' => '^192\.168\.0\.19$',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
'timeout' => 3,
),
Reverse Proxy config
location /nextcloud/ {
proxy_pass http://192.168.0.14/;
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host/nextcloud;
access_log /var/log/nginx/cloud.access.log;
error_log /var/log/nginx/cloud.error.log;
client_max_body_size 0;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}