root@owncloud:/usr/local/etc/nginx # ls fastcgi_params nginx-bak.conf server.csr fastcgi_params-dist nginx.conf server.key koi-utf nginx.conf-dist server.key.org koi-win scgi_params uwsgi_params mime.types scgi_params-dist uwsgi_params-dist mime.types-dist server.crt win-ut Config.php file contents 'ocgrwjeb9u1w', 'passwordsalt' => '+e+Ao/M9HYS70S81jpmuZvZIKSP+Bq', 'secret' => '4S/QhW/P9ZLtWgXeWnaViHg1/5BT2CiQ23d+2DqTiyb3dnTW', 'trusted_domains' => array ( 0 => '192.168.2.3',, ), 'datadirectory' => '/mnt/files', 'overwrite.cli.url' => 'https://192.168.2.3/owncloud', 'dbtype' => 'mysql', 'version' => '8.2.0.12', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'ocuser', 'dbpassword' => 'ocpass', 'logtimezone' => 'UTC', 'installed' => true, 'memcache.local' => '\OC\Memcache\APCu', ); nginx.conf file contents worker_processes 2; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile off; keepalive_timeout 65; gzip off; server { root /usr/local/www; location = /robots.txt { allow all; access_log off; log_not_found off; } location = /favicon.ico { access_log off; log_not_found off; } location ^~ /owncloud { index index.php; try_files $uri $uri/ /owncloud/index.php$is_args$args; error_page 403 /owncloud/core/templates/403.php; error_page 404 /owncloud/core/templates/404.php; client_max_body_size 512M; location ~ ^/owncloud/(?:\.|build|tests|config|lib|3rdparty|templates|data|autotest|occ|$ { deny all; } location ~ \.php(?:$|/) { fastcgi_split_path_info ^(.+\.php)(/.*)$; fastcgi_pass unix:/var/run/php-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_intercept_errors on; include fastcgi_params; } location ~ \.(?:jpg|gif|ico|png|css|js|svg)$ { expires 30d; add_header Cache-Control public; } } } server { ssl_certificate /usr/local/etc/nginx/server.crt; ssl_certificate_key /usr/local/etc/nginx/server.key; listen 443 ssl; location / { root html; index index.html index.html; } } }