-
Notifications
You must be signed in to change notification settings - Fork 45
Description
I run up the letsproxy instance using the following command.
docker run
-it
-v /var/run/docker.sock:/tmp/docker.sock:ro
-v $(pwd)/proxy/certs:/etc/nginx/certs
-v $(pwd)/proxy/acme:/acmecerts
-v $(pwd)/proxy/conf.d:/etc/nginx/conf.d
-v $(pwd)/proxy/vhost.d:/etc/nginx/vhost.d
-v $(pwd)/proxy/stream.d:/etc/nginx/stream.d
-v $(pwd)/proxy/dhparam:/etc/nginx/dhparam
--name proxy
--net=host
--restart=always
neilpang/letsproxy:latest
But it doesn't work. The logs as following:
WARNING: /etc/nginx/dhparam/dhparam.pem was not found. A pre-generated dhparam.pem will be used for now while a new one
is being generated in the background. Once the new dhparam.pem is in place, nginx will be reloaded.
forego | starting dockergen.1 on port 5000
forego | starting nginx.1 on port 5100
forego | starting cron.1 on port 5300
Generating DSA parameters, 4096 bit long prime
dockergen.1 | 2021/11/01 05:57:31 Generated '/etc/nginx/conf.d/default.conf' from 5 containers
dockergen.1 | 2021/11/01 05:57:31 Running '/app/updatessl.sh updatessl'
dhparam generation complete, reloading nginx
2021/11/01 05:57:33 [notice] 108#108: signal process started
dockergen.1 | 2021/11/01 06:00:20 Watching docker events
dockergen.1 | 2021/11/01 06:00:20 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification '/app/updatessl.sh updatessl'
More info
- My VPS is rented from Tencent Cloud and is set up in China .
- The OS is using Ubuntu 20.04.
- The 443 and 80 ports are used for the letsproxy instance.
Based on this information, could you help to locate the issue? And how to solve it?
