Hi.
Thanks for the tip. There was this message :
Quotenginx: [emerg] "proxy_max_temp_file_size" directive invalid value in /config/nginx/proxy-confs/nextcloud.subdomain.conf:28
I corrected it by replacing 2048M by 1024M (after a quick internet search).
Then I got this message :
Quotenginx: [emerg] BIO_new_file("/config/nginx/dhparams.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/config/nginx/dhparams.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
I deleted dhparams.pem to regenerate it :
Now it is regenerating but it can take a long time according to the logs. I will tell you if this worked when it will be done.
QuoteCreating DH parameters for additional security. This may take a very long time. There will be another message once this process is completed
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
EDIT :
after that, there still was an error :
QuoteDisplay Morenginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see GitHub - openresty/luajit2: OpenResty's Branch of LuaJIT 2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from OpenResty - Download)
nginx: [error] lua_load_resty_core failed to load the resty.core module from GitHub - openresty/lua-resty-core: New FFI-based API for lua-nginx-module; ensure you are using an OpenResty release from OpenResty - Download (rc: 2, reason: module 'resty.core' not found:
no field package.preload['resty.core']
no file './resty/core.lua'
no file '/usr/share/luajit-2.1.0-beta3/resty/core.lua'
no file '/usr/local/share/lua/5.1/resty/core.lua'
no file '/usr/local/share/lua/5.1/resty/core/init.lua'
no file '/usr/share/lua/5.1/resty/core.lua'
no file '/usr/share/lua/5.1/resty/core/init.lua'
no file '/usr/share/lua/common/resty/core.lua'
no file '/usr/share/lua/common/resty/core/init.lua'
no file './resty/core.so'
no file '/usr/local/lib/lua/5.1/resty/core.so'
no file '/usr/lib/lua/5.1/resty/core.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './resty.so'
no file '/usr/local/lib/lua/5.1/resty.so'
no file '/usr/lib/lua/5.1/resty.so'
no file '/usr/local/lib/lua/5.1/loadall.so')
Server ready
I added the following line into the http block of nginx.conf (after finding this solution online) :
Quotelua_load_resty_core off;
and now this works !!
Thanks to your help on finding the docker's log, I have now being able to secure my site.
I leave it here so people with the same problem can find the solution.