Hello Parag,
I’m following your steps, but I’m facing some issues,
I did forward the ports on my router I installed the NGinx Proxy Manager i create teh proxy host to
Source: xxxx.duckdns.org
Destination: http://10.1.0.1:8123
first of all if I try to access from outside to http://xxxx.duckdns.org it takes me to my router
then if I try to enable the SSL in Nginx I follow the steps to request a new certificate and it fails. this is the log
[6/24/2020] [8:05:44 PM] [Nginx ] ›
success Wrote config: /data/nginx/proxy_host/1.conf # ------------------------------------------------------------
------------------------------------------------------------
server {
set $forward_scheme http;
set $server “10.1.0.1”;
set $port 8123;
listen 80;
#listen [::]:80;
server_name xxxx.duckdns.org;
access_log /proc/1/fd/1 proxy;
location / {
# Proxy!
include conf.d/include/proxy.conf;
}
Custom
include /data/nginx/custom/server_proxy[.]conf;
}
[6/24/2020] [8:05:44 PM] [Nginx ] ›
info Testing Nginx configuration
[6/24/2020] [8:05:44 PM] [Nginx ] ›
info Reloading Nginx
[6/24/2020] [8:05:44 PM] [Express ] ›
warning Command failed: /usr/bin/certbot certonly --non-interactive --config “/etc/letsencrypt.ini” --cert-name “npm-10” --agree-tos --email “[email protected]” --preferred-challenges “dns,http” --webroot --domains “xxxx.duckdns.org”
Saving debug log to /data/logs/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for xxxx.duckdns.org
Using the webroot path /data/letsencrypt-acme-challenge for all unmatched domains.
Waiting for verification…
Challenge failed for domain xxxx.duckdns.org
http-01 challenge for xxxx.duckdns.org
Cleaning up challenges
Some challenges have failed.
could that be due port 80 can’t be routed to my hassio?
any help is welcome.