is there any idea how to get nginx proxy manager to work in aapanel (docker)?
I know that Aapanel provides a reverse proxy on its dashboard, but the Aapanel dashboard cannot be accessed by many people (client side), so I want to install Nginx Porxy Manager.
I have installed and succeeded on Docker Aapanel. I can access the nginx proxy manager dashboard, but I am still having problems because nginx proxy manager cannot request an SSL certificate.
even though I have redirected the domain to my IP.
npm-app-1 | [2/15/2024] [11:26:27 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf
npm-app-1 | [2/15/2024] [11:26:27 AM] [Nginx ] › ⬤ debug Could not delete file: {
npm-app-1 | "errno": -2,
npm-app-1 | "code": "ENOENT",
npm-app-1 | "syscall": "unlink",
npm-app-1 | "path": "/data/nginx/proxy_host/1.conf"
npm-app-1 | }
npm-app-1 | [2/15/2024] [11:26:27 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf.err
npm-app-1 | [2/15/2024] [11:26:27 AM] [Nginx ] › ⬤ debug Could not delete file: {
npm-app-1 | "errno": -2,
npm-app-1 | "code": "ENOENT",
npm-app-1 | "syscall": "unlink",
npm-app-1 | "path": "/data/nginx/proxy_host/1.conf.err"
npm-app-1 | }
npm-app-1 | [2/15/2024] [11:26:27 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
npm-app-1 | [2/15/2024] [11:26:28 AM] [Nginx ] › ℹ info Reloading Nginx
npm-app-1 | [2/15/2024] [11:26:28 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
npm-app-1 | [2/15/2024] [11:26:33 AM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #1: proxy.alfari.id
npm-app-1 | [2/15/2024] [11:26:33 AM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-1" --agree-tos --authenticator webroot --email "ari@alfari.id" --preferred-challenges "dns,http" --domains "proxy.alfari.id"
npm-app-1 | [2/15/2024] [11:26:33 AM] [Global ] › ⬤ debug CMD: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-1" --agree-tos --authenticator webroot --email "ari@alfari.id" --preferred-challenges "dns,http" --domains "proxy.alfari.id"
npm-app-1 | [2/15/2024] [11:26:36 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_1.conf
npm-app-1 | [2/15/2024] [11:26:36 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
npm-app-1 | [2/15/2024] [11:26:36 AM] [Nginx ] › ℹ info Reloading Nginx
npm-app-1 | [2/15/2024] [11:26:36 AM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
npm-app-1 | [2/15/2024] [11:26:36 AM] [Express ] › ⚠ warning Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
npm-app-1 | Some challenges have failed.