Need help setting up Nextcloud to upload large files

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.0.5):
    • 30.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • openmediavault 7.4.12-3
  • Web server and version (e.g, Apache 2.4.25):
    • 2.4.62
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • 1.27.2
  • PHP version (e.g, 8.3):
    • 8.2.25
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • When did this problem seem to first start?
    • When trying to download a file larger than 5GB.
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
    • Docker
  • Are you using Cloudflare, mod_security, or similar? (Yes / No)
    • LetsEncrypt

Summary of the issue you are facing:

I installed and configured Nextcloud according to the example located at docker/.examples at master · nextcloud/docker · GitHub, I did not change anything, only the installation location from the SSD on which openmediavault is installed to the HDD. We looked for instructions on the Internet, tried to read the documentation for containers, used ChatGPT, but since I do not have sufficient experience in working with docker and nginx and apache servers, I could not overcome the error of loading large files.

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

192.168.31.1 - - [15/Nov/2024:14:33:18 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 726 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

192.168.31.1 - - [15/Nov/2024:14:32:39 +0000] "MOVE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file HTTP/1.1" 503 1428 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

192.168.31.1 - - [15/Nov/2024:14:33:39 +0000] "DELETE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb HTTP/1.1" 204 459 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

127.0.0.1 - - [15/Nov/2024:14:33:47 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.2.25 (internal dummy connection)"

192.168.31.1 - - [15/Nov/2024:14:33:48 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 726 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

xhr.js:195 
MOVE https://polezhaeff.duckdns.org/remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file 504 (Gateway Timeout)
(анонимная) @ xhr.js:195
xhr @ xhr.js:15
p @ dispatchRequest.js:51
Promise.then
_request @ Axios.js:149
request @ Axios.js:40
(анонимная) @ bind.js:5
(анонимная) @ index-DNLyAvkP.mjs:603
Показать ещё 7 фреймов
Свернуть
index.mjs:54 
[ERROR] @nextcloud/upload: Error in batch upload {app: '@nextcloud/upload', uid: 'polezhaeff', level: 2, error: 'Failed assembling the chunks together'}

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

nginx.1     | polezhaeff.duckdns.org 192.168.31.1 - - [15/Nov/2024:14:33:18 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" "172.21.0.4:80"

nginx.1     | 2024/11/15 14:33:39 [error] 43#43: *3028 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 192.168.31.1, server: polezhaeff.duckdns.org, request: "MOVE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file HTTP/2.0", upstream: "http://172.21.0.4:80/remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file", host: "polezhaeff.duckdns.org"

nginx.1     | polezhaeff.duckdns.org 192.168.31.1 - - [15/Nov/2024:14:33:39 +0000] "MOVE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file HTTP/2.0" 504 569 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" "172.21.0.4:80"

nginx.1     | polezhaeff.duckdns.org 192.168.31.1 - - [15/Nov/2024:14:33:46 +0000] "DELETE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb HTTP/2.0" 204 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" "172.21.0.4:80"

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'redis',
    'password' => '',
    'port' => 6379,
  ),
  'upgrade.disable-web' => true,
  'instanceid' => 'ockjml34a8ic',
  'passwordsalt' => 'JJ7gFrM0Gf9rwg75YZ/pUohTrNvP5B',
  'secret' => 'pofsikMQagUHwbSjMhGgxeZNmNknU8jlee7U1TyEVv7xjEtZ',
  'trusted_domains' => 
  array (
    0 => 'polezhaeff.duckdns.org',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'pgsql',
  'version' => '30.0.2.2',
  'overwrite.cli.url' => 'http://polezhaeff.duckdns.org',
  'dbname' => 'nextcloud',
  'dbhost' => 'db',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_polezhaeff',
  'dbpassword' => 'd6Sc1M0QleF6fEl2Vza7OHvVbTIvkH',
  'installed' => true,
);
Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.0.5):
    • 30.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • openmediavault 7.4.12-3
  • Web server and version (e.g, Apache 2.4.25):
    • 2.4.62
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • 1.27.2
  • PHP version (e.g, 8.3):
    • 8.2.25
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • When did this problem seem to first start?
    • When trying to download a file larger than 5GB.
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
    • Docker
  • Are you using Cloudflare, mod_security, or similar? (Yes / No)
    • LetsEncrypt

Summary of the issue you are facing:

I installed and configured Nextcloud according to the example located at docker/.examples at master · nextcloud/docker · GitHub, I did not change anything, only the installation location from the SSD on which openmediavault is installed to the HDD. We looked for instructions on the Internet, tried to read the documentation for containers, used ChatGPT, but since I do not have sufficient experience in working with docker and nginx and apache servers, I could not overcome the error of loading large files.

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

192.168.31.1 - - [15/Nov/2024:14:33:18 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 726 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

192.168.31.1 - - [15/Nov/2024:14:32:39 +0000] "MOVE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file HTTP/1.1" 503 1428 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

192.168.31.1 - - [15/Nov/2024:14:33:39 +0000] "DELETE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb HTTP/1.1" 204 459 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

127.0.0.1 - - [15/Nov/2024:14:33:47 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.2.25 (internal dummy connection)"

192.168.31.1 - - [15/Nov/2024:14:33:48 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 726 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

xhr.js:195 
MOVE https://polezhaeff.duckdns.org/remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file 504 (Gateway Timeout)
(анонимная) @ xhr.js:195
xhr @ xhr.js:15
p @ dispatchRequest.js:51
Promise.then
_request @ Axios.js:149
request @ Axios.js:40
(анонимная) @ bind.js:5
(анонимная) @ index-DNLyAvkP.mjs:603
Показать ещё 7 фреймов
Свернуть
index.mjs:54 
[ERROR] @nextcloud/upload: Error in batch upload {app: '@nextcloud/upload', uid: 'polezhaeff', level: 2, error: 'Failed assembling the chunks together'}

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

nginx.1     | polezhaeff.duckdns.org 192.168.31.1 - - [15/Nov/2024:14:33:18 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" "172.21.0.4:80"

nginx.1     | 2024/11/15 14:33:39 [error] 43#43: *3028 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 192.168.31.1, server: polezhaeff.duckdns.org, request: "MOVE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file HTTP/2.0", upstream: "http://172.21.0.4:80/remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file", host: "polezhaeff.duckdns.org"

nginx.1     | polezhaeff.duckdns.org 192.168.31.1 - - [15/Nov/2024:14:33:39 +0000] "MOVE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file HTTP/2.0" 504 569 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" "172.21.0.4:80"

nginx.1     | polezhaeff.duckdns.org 192.168.31.1 - - [15/Nov/2024:14:33:46 +0000] "DELETE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb HTTP/2.0" 204 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" "172.21.0.4:80"

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'redis',
    'password' => '',
    'port' => 6379,
  ),
  'upgrade.disable-web' => true,
  'instanceid' => 'ockjml34a8ic',
  'passwordsalt' => 'JJ7gFrM0Gf9rwg75YZ/pUohTrNvP5B',
  'secret' => 'pofsikMQagUHwbSjMhGgxeZNmNknU8jlee7U1TyEVv7xjEtZ',
  'trusted_domains' => 
  array (
    0 => 'polezhaeff.duckdns.org',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'pgsql',
  'version' => '30.0.2.2',
  'overwrite.cli.url' => 'http://polezhaeff.duckdns.org',
  'dbname' => 'nextcloud',
  'dbhost' => 'db',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_polezhaeff',
  'dbpassword' => 'd6Sc1M0QleF6fEl2Vza7OHvVbTIvkH',
  'installed' => true,
);

On the surface it appears you may be hitting a resource limitation with the PHP defaults for FPM. What do the logs for your app (fpm) container show during these events?

Unfortunately the PHP defaults are fairly low (for many environments), and every environment has different needs.

These are the logs my container writes
192.168.31.1 - - [15/Nov/2024:15:59:02 +0000] “PUT /remote.php/dav/uploads/polezhaeff/web-file-upload-d10420e22e9b16af/240 HTTP/ 1.1” 201 537 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36”

192.168.31.1 - - [15/Nov/2024:15:59:02 +0000] “PUT /remote.php/dav/uploads/polezhaeff/web-file-upload-d10420e22e9b16af/243 HTTP/1.1” 201 537 "- " “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36”

192.168.31.1 - - [15/Nov/2024:15:59:02 +0000] “PUT /remote.php/dav/uploads/polezhaeff/web-file-upload-d10420e22e9b16af/241 HTTP/1.1” 201 537 "- " “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36”

192.168.31.1 - - [15/Nov/2024:15:59:03 +0000] “PUT /remote.php/dav/uploads/polezhaeff/web-file-upload-d10420e22e9b16af/244 HTTP/1.1” 201 537 "- " “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36”

Do your web server (not reverse proxy) logs indicate an inability to connect to FPM?

I don’t have a separate container for FPM.

These are the logs my container writes

None of those indicate problems. Did you look through all of the ones generated during a single upload attempt to see if any are errors (particularly timeouts)? That will help you determine whether you need to focus on fixing timeout (or other) values on the web server versus just on your reverse proxy (more on that below).

nginx.1 | 2024/11/15 14:33:39 [error] 43#43: *3028 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 192.168.31.1, server: polezhaeff.duckdns.org, request: "MOVE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file HTTP/2.0", upstream: "http://172.21.0.4:80/remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file", host: "polezhaeff.duckdns.org"

This is the transaction to focus on. This timestamp is what needs to be cross-referenced with your app container to figure out why it’s timing out.

There is a clue here that one of the issues is likely a timeout (i.e. the chunk assembly takes >60 seconds in your environment);

192.168.31.1 - - [15/Nov/2024:14:32:39 +0000] "MOVE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb/.file HTTP/1.1" 503 1428 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

192.168.31.1 - - [15/Nov/2024:14:33:39 +0000] "DELETE /remote.php/dav/uploads/polezhaeff/web-file-upload-23cc9dc2fc29c0cb HTTP/1.1" 204 459 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

In Apache the TimeOut parameter comes to mind (it defaults to 60s). That is, if the primary timeout is occurring on the web server.

If the timeout is only occurring at the proxy<->web connection, then nginx parameters like proxy_read_timeout come to mind (also defaults to 60s)

It’s possible the timeout is only at the reverse proxy level.

Please post your actual Compose file too. You said you’re using “the example” but there are multiple examples so no idea which one you’re really using. :slight_smile:

version: ‘3’

services:
db:
image: postgres:alpine
restart: always
volumes:
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/db:/var/lib/postgresql/data:Z
env_file:
- db.env

redis:
image: redis:alpine
restart: always

app:
image: nextcloud:fpm-alpine
restart: always
volumes:
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/nextcloud:/var/www/html:z
# NOTE: The volumes config of the cron and app containers must match
environment:
- POSTGRES_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
- proxy

web:
build: ./web
restart: always
volumes:
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/nextcloud:/var/www/html:z,ro
# NOTE: The volumes included here should match those of the app container (unless you know what you’re doing)
environment:
- VIRTUAL_HOST=polezhaeff.duckdns.org
- LETSENCRYPT_HOST=polezhaeff.duckdns.org
- LETSENCRYPT_EMAIL=a.v.polezhaeff@gmail.com
depends_on:
- app
networks:
- proxy-tier
- default

cron:
image: nextcloud:fpm-alpine
restart: always
volumes:
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/nextcloud:/var/www/html:z
# NOTE: The volumes config of the cron and app containers must match
entrypoint: /cron.sh
depends_on:
- db
- redis

proxy:
build: ./proxy
restart: always
ports:
- 80:80
- 443:443
labels:
- “com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy”
volumes:
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/certs:/etc/nginx/certs:z,ro
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/vhost.d:/etc/nginx/vhost.d:z
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/html:/usr/share/nginx/html:z
- /var/run/docker.sock:/tmp/docker.sock:z,ro
networks:
- proxy-tier

letsencrypt-companion:
image: nginxproxy/acme-companion
restart: always
volumes:
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/certs:/etc/nginx/certs:z
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/acme:/etc/acme.sh:z
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/vhost.d:/etc/nginx/vhost.d:z
- /srv/dev-disk-by-uuid-b3abcbfd-f118-4d33-a73e-849626fa90f5/data/nextcloud/html:/usr/share/nginx/html:z
- /var/run/docker.sock:/var/run/docker.sock:z,ro
environment:
- DEFAULT_EMAIL=a.v.polezhaeff@gmail.com
networks:
- proxy-tier
depends_on:
- proxy

self signed

omgwtfssl:

image: paulczar/omgwtfssl

restart: “no”

volumes:

- certs:/certs

environment:

- SSL_SUBJECT=servhostname.local

- CA_SUBJECT=my@example.com

- SSL_KEY=/certs/servhostname.local.key

- SSL_CSR=/certs/servhostname.local.csr

- SSL_CERT=/certs/servhostname.local.crt

networks:

- proxy-tier

networks:
proxy-tier:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.