Certbot da erro ao criar certificado Timeout during connect (likely firewall problem)

Show:
ls -l /var/log/nginx/access.log
df -h

1 Like

lrwxrwxrwx 1 root root 11 Oct 13 2020 /var/log/nginx/access.log -> /dev/stdout

Filesystem      Size  Used Avail Use% Mounted on
overlay          49G   40G  8.6G  83% /
tmpfs            64M     0   64M   0% /dev
tmpfs           992M     0  992M   0% /sys/fs/cgroup
shm              64M     0   64M   0% /dev/shm
tmpfs           199M  3.5M  195M   2% /tmp/docker.sock
/dev/vda1        49G   40G  8.6G  83% /etc/hosts
/dev/sdb         50G   38G  9.7G  80% /etc/nginx/conf.d/max_body.conf
tmpfs           992M     0  992M   0% /proc/acpi
tmpfs           992M     0  992M   0% /proc/scsi
tmpfs           992M     0  992M   0% /sys/firmware

Show:
ls -l /dev/stdout
ls -l /etc/nginx/conf.d/max_body.conf/

1 Like

root@2372bfb76c93:/app# ls -l /dev/stdout
lrwxrwxrwx 1 root root 15 Jun 25 23:32 /dev/stdout -> /proc/self/fd/1
root@2372bfb76c93:/app# ls -l /proc/self/fd/1
lrwx------ 1 root root 64 Jun 25 23:42 /proc/self/fd/1 -> /dev/pts/0
root@2372bfb76c93:/app# ls -l /dev/pts/0
crw--w---- 1 root tty 136, 0 Jun 25 23:42 /dev/pts/0

-rw-r--r-- 1 root root 28 Apr 4 01:05 /etc/nginx/conf.d/max_body.conf

OK, so the nginx access.log file is NOT being saved anywhere.

Not sure why this 38G partition exists or what it is being used for:

1 Like

Anyway... the point of that was to show if the challenge requests were being handled by the "default" server block or not.
But we are unable to prove that.

I suggest you make an HTTP server block to handle the new FQDN ("psp.app.br") and then go from there.

1 Like

Yes I will try to do that, I need to do a little research and understand what I am doing wrong and why I already tried to create a unique container for psp.app.br and it didn't work.
Thank you very much for your help, my little experience with this ngix-proxy docker image might be the biggest problem

2 Likes

There are many websites which allow making curl requests. Might help test access from outside your network. Another option is using a cellular connection. Phones don't always have the best debug tools but you can make it into a wifi hotspot and connect to that with a laptop.

As one example of a website that issues curl commands:

3 Likes

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