[GH-ISSUE #4173] ERRO 502 Bad Gateway on reverse proxy with public IPV6. #2704

Open
opened 2026-02-26 07:36:32 +03:00 by kerem · 7 comments
Owner

Originally created by @RafaelMachadok2xt on GitHub (Nov 18, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4173

I set up a server with Ubuntu Server 24.04 LTS on an old PC, everything configured with IPv6. It’s all working when I access the application (portainer, grafana, Nginx Proxy Manager . . .) externally via IPv6 and its corresponding port. However, when I set up reverse proxy using Nginx proxy Manager, I get a 502 Bad Gateway error.

When I type the IPv6 address of the instance in the browser, the Nginx welcome page appears, indicating that Nginx itself is working fine. The issue seems to be related to some network configuration.

Does anyone have any idea what could be causing this?

Note: All necessary ports for the applications are open in UFW, both for inbound and outbound traffic. The applications work externally with IPv6 and their respective ports. The problem only occurs when using domains with reverse proxy.

Nginx Proxy Manager Version
2.11.1

docker and portainer latesst version

To Reproduce
Steps to reproduce the behavior:

  1. Go to portainer.k2xttechnology.com.br

See error 502 bad gateway
Nginx proxy manager
erro

Expected behavior
Proxy reverse working on IPV6

Logs from portainer

Group: npm PGID:0 ID:0

❯ Starting nginx ...
❯ Starting backend ...
[11/18/2024] [2:13:37 PM] [Global ] › ℹ info Using Sqlite: /data/database.sqlite
[11/18/2024] [2:13:37 PM] [Migrate ] › ℹ info Current database version: none
[11/18/2024] [2:13:37 PM] [Setup ] › ℹ info Logrotate Timer initialized
[11/18/2024] [2:13:37 PM] [Global ] › ⬤ debug CMD: logrotate /etc/logrotate.d/nginx-proxy-manager
[11/18/2024] [2:13:38 PM] [Setup ] › ℹ info Logrotate completed.
[11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info Fetching IP Ranges from online services...
[11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[11/18/2024] [2:13:38 PM] [SSL ] › ℹ info Let's Encrypt Renewal Timer initialized
[11/18/2024] [2:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ...
[11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info IP Ranges Renewal Timer initialized
[11/18/2024] [2:13:38 PM] [Global ] › ℹ info Backend PID 153 listening on port 3000 ...
[11/18/2024] [2:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process
[11/18/2024] [2:15:02 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [2:15:02 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/3.conf
[11/18/2024] [2:15:02 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [2:15:02 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [2:15:02 PM] [Nginx ] › ℹ info Reloading Nginx
[11/18/2024] [2:15:02 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[11/18/2024] [2:26:34 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [2:26:34 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/3.conf
[11/18/2024] [2:26:34 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [2:26:34 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [2:26:34 PM] [Nginx ] › ℹ info Reloading Nginx
[11/18/2024] [2:26:34 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[11/18/2024] [3:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ...
[11/18/2024] [3:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process
[11/18/2024] [3:40:31 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/5.conf
[11/18/2024] [3:40:31 PM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"code": "ENOENT",
"syscall": "unlink",
"path": "/data/nginx/proxy_host/5.conf"
}
[11/18/2024] [3:40:31 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/5.conf.err
[11/18/2024] [3:40:31 PM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"code": "ENOENT",
"syscall": "unlink",
"path": "/data/nginx/proxy_host/5.conf.err"
}
[11/18/2024] [3:40:31 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [3:40:31 PM] [Nginx ] › ℹ info Reloading Nginx
[11/18/2024] [3:40:31 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[11/18/2024] [3:40:36 PM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #8: npm.k2xttechnology.com.br
[11/18/2024] [3:40:36 PM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-8" --agree-tos --authenticator webroot --email "rafael@k2xttechnology.com.br" --preferred-challenges "dns,http" --domains "npm.k2xttechnology.com.br"
[11/18/2024] [3:40:36 PM] [Global ] › ⬤ debug CMD: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-8" --agree-tos --authenticator webroot --email "rafael@k2xttechnology.com.br" --preferred-challenges "dns,http" --domains "npm.k2xttechnology.com.br"
[11/18/2024] [3:40:39 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_8.conf
[11/18/2024] [3:40:39 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [3:40:39 PM] [Nginx ] › ℹ info Reloading Nginx
[11/18/2024] [3:40:39 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[11/18/2024] [3:40:40 PM] [Express ] › ⚠ warning Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.
[11/18/2024] [3:42:36 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/5.conf
[11/18/2024] [3:42:36 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/5.conf.err
[11/18/2024] [3:42:36 PM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"code": "ENOENT",
"syscall": "unlink",
"path": "/data/nginx/proxy_host/5.conf.err"
}
[11/18/2024] [3:42:36 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [3:42:36 PM] [Nginx ] › ℹ info Reloading Nginx
[11/18/2024] [3:42:36 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[11/18/2024] [3:42:41 PM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #9: npm.k2xttechnology.com.br
[11/18/2024] [3:42:41 PM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-9" --agree-tos --authenticator webroot --email "rafael@k2xttechnology.com.br" --preferred-challenges "dns,http" --domains "npm.k2xttechnology.com.br"
[11/18/2024] [3:42:41 PM] [Global ] › ⬤ debug CMD: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-9" --agree-tos --authenticator webroot --email "rafael@k2xttechnology.com.br" --preferred-challenges "dns,http" --domains "npm.k2xttechnology.com.br"
[11/18/2024] [3:42:43 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_9.conf
[11/18/2024] [3:42:43 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [3:42:44 PM] [Nginx ] › ℹ info Reloading Nginx
[11/18/2024] [3:42:44 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
[11/18/2024] [3:42:44 PM] [Express ] › ⚠ warning Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.
[11/18/2024] [4:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ...
[11/18/2024] [4:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process
[11/18/2024] [5:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ...
[11/18/2024] [5:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process
[11/18/2024] [6:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ...
[11/18/2024] [6:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process
[11/18/2024] [7:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ...
[11/18/2024] [7:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process
[11/18/2024] [8:13:38 PM] [IP Ranges] › ℹ info Fetching IP Ranges from online services...
[11/18/2024] [8:13:38 PM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[11/18/2024] [8:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ...
[11/18/2024] [8:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process
[11/18/2024] [8:13:38 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[11/18/2024] [8:13:38 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[11/18/2024] [8:13:38 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;"
[11/18/2024] [8:13:38 PM] [Nginx ] › ℹ info Reloading Nginx
[11/18/2024] [8:13:38 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload

Originally created by @RafaelMachadok2xt on GitHub (Nov 18, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4173 I set up a server with Ubuntu Server 24.04 LTS on an old PC, everything configured with IPv6. It’s all working when I access the application (portainer, grafana, Nginx Proxy Manager . . .) externally via IPv6 and its corresponding port. However, when I set up reverse proxy using Nginx proxy Manager, I get a 502 Bad Gateway error. When I type the IPv6 address of the instance in the browser, the Nginx welcome page appears, indicating that Nginx itself is working fine. The issue seems to be related to some network configuration. Does anyone have any idea what could be causing this? Note: All necessary ports for the applications are open in UFW, both for inbound and outbound traffic. The applications work externally with IPv6 and their respective ports. The problem only occurs when using domains with reverse proxy. **Nginx Proxy Manager Version** 2.11.1 docker and portainer latesst version **To Reproduce** Steps to reproduce the behavior: 1. Go to portainer.k2xttechnology.com.br See error 502 bad gateway ![Nginx proxy manager](https://github.com/user-attachments/assets/68366758-51b9-47d3-a171-556bd12103e5) ![erro](https://github.com/user-attachments/assets/426ef319-16b0-4703-bf5b-368c55d1e6ed) **Expected behavior** Proxy reverse working on IPV6 Logs from portainer Group: npm PGID:0 ID:0 ------------------------------------- ❯ Starting nginx ... ❯ Starting backend ... [11/18/2024] [2:13:37 PM] [Global ] › ℹ info Using Sqlite: /data/database.sqlite [11/18/2024] [2:13:37 PM] [Migrate ] › ℹ info Current database version: none [11/18/2024] [2:13:37 PM] [Setup ] › ℹ info Logrotate Timer initialized [11/18/2024] [2:13:37 PM] [Global ] › ⬤ debug CMD: logrotate /etc/logrotate.d/nginx-proxy-manager [11/18/2024] [2:13:38 PM] [Setup ] › ℹ info Logrotate completed. [11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info Fetching IP Ranges from online services... [11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json [11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4 [11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6 [11/18/2024] [2:13:38 PM] [SSL ] › ℹ info Let's Encrypt Renewal Timer initialized [11/18/2024] [2:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ... [11/18/2024] [2:13:38 PM] [IP Ranges] › ℹ info IP Ranges Renewal Timer initialized [11/18/2024] [2:13:38 PM] [Global ] › ℹ info Backend PID 153 listening on port 3000 ... [11/18/2024] [2:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process [11/18/2024] [2:15:02 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [2:15:02 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/3.conf [11/18/2024] [2:15:02 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [2:15:02 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [2:15:02 PM] [Nginx ] › ℹ info Reloading Nginx [11/18/2024] [2:15:02 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload [11/18/2024] [2:26:34 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [2:26:34 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/3.conf [11/18/2024] [2:26:34 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [2:26:34 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [2:26:34 PM] [Nginx ] › ℹ info Reloading Nginx [11/18/2024] [2:26:34 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload [11/18/2024] [3:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ... [11/18/2024] [3:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process [11/18/2024] [3:40:31 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/5.conf [11/18/2024] [3:40:31 PM] [Nginx ] › ⬤ debug Could not delete file: { "errno": -2, "code": "ENOENT", "syscall": "unlink", "path": "/data/nginx/proxy_host/5.conf" } [11/18/2024] [3:40:31 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/5.conf.err [11/18/2024] [3:40:31 PM] [Nginx ] › ⬤ debug Could not delete file: { "errno": -2, "code": "ENOENT", "syscall": "unlink", "path": "/data/nginx/proxy_host/5.conf.err" } [11/18/2024] [3:40:31 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [3:40:31 PM] [Nginx ] › ℹ info Reloading Nginx [11/18/2024] [3:40:31 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload [11/18/2024] [3:40:36 PM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #8: npm.k2xttechnology.com.br [11/18/2024] [3:40:36 PM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-8" --agree-tos --authenticator webroot --email "rafael@k2xttechnology.com.br" --preferred-challenges "dns,http" --domains "npm.k2xttechnology.com.br" [11/18/2024] [3:40:36 PM] [Global ] › ⬤ debug CMD: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-8" --agree-tos --authenticator webroot --email "rafael@k2xttechnology.com.br" --preferred-challenges "dns,http" --domains "npm.k2xttechnology.com.br" [11/18/2024] [3:40:39 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_8.conf [11/18/2024] [3:40:39 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [3:40:39 PM] [Nginx ] › ℹ info Reloading Nginx [11/18/2024] [3:40:39 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload [11/18/2024] [3:40:40 PM] [Express ] › ⚠ warning Saving debug log to /tmp/letsencrypt-log/letsencrypt.log Some challenges have failed. Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details. [11/18/2024] [3:42:36 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/5.conf [11/18/2024] [3:42:36 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/5.conf.err [11/18/2024] [3:42:36 PM] [Nginx ] › ⬤ debug Could not delete file: { "errno": -2, "code": "ENOENT", "syscall": "unlink", "path": "/data/nginx/proxy_host/5.conf.err" } [11/18/2024] [3:42:36 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [3:42:36 PM] [Nginx ] › ℹ info Reloading Nginx [11/18/2024] [3:42:36 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload [11/18/2024] [3:42:41 PM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #9: npm.k2xttechnology.com.br [11/18/2024] [3:42:41 PM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-9" --agree-tos --authenticator webroot --email "rafael@k2xttechnology.com.br" --preferred-challenges "dns,http" --domains "npm.k2xttechnology.com.br" [11/18/2024] [3:42:41 PM] [Global ] › ⬤ debug CMD: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-9" --agree-tos --authenticator webroot --email "rafael@k2xttechnology.com.br" --preferred-challenges "dns,http" --domains "npm.k2xttechnology.com.br" [11/18/2024] [3:42:43 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_9.conf [11/18/2024] [3:42:43 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [3:42:44 PM] [Nginx ] › ℹ info Reloading Nginx [11/18/2024] [3:42:44 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload [11/18/2024] [3:42:44 PM] [Express ] › ⚠ warning Saving debug log to /tmp/letsencrypt-log/letsencrypt.log Some challenges have failed. Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details. [11/18/2024] [4:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ... [11/18/2024] [4:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process [11/18/2024] [5:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ... [11/18/2024] [5:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process [11/18/2024] [6:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ... [11/18/2024] [6:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process [11/18/2024] [7:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ... [11/18/2024] [7:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process [11/18/2024] [8:13:38 PM] [IP Ranges] › ℹ info Fetching IP Ranges from online services... [11/18/2024] [8:13:38 PM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json [11/18/2024] [8:13:38 PM] [SSL ] › ℹ info Renewing SSL certs expiring within 30 days ... [11/18/2024] [8:13:38 PM] [SSL ] › ℹ info Completed SSL cert renew process [11/18/2024] [8:13:38 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4 [11/18/2024] [8:13:38 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6 [11/18/2024] [8:13:38 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -t -g "error_log off;" [11/18/2024] [8:13:38 PM] [Nginx ] › ℹ info Reloading Nginx [11/18/2024] [8:13:38 PM] [Global ] › ⬤ debug CMD: /usr/sbin/nginx -s reload
Author
Owner

@Mainfrezzer commented on GitHub (Nov 19, 2024):

May i ask why youre trying to connect to port 9000 of portainer via https? Thats the http port, https is 9443

<!-- gh-comment-id:2485428957 --> @Mainfrezzer commented on GitHub (Nov 19, 2024): May i ask why youre trying to connect to port 9000 of portainer via https? Thats the http port, https is 9443
Author
Owner

@lastsamurai26 commented on GitHub (Nov 19, 2024):

And what i see is that between https:// and the ip is a space
image

<!-- gh-comment-id:2485909353 --> @lastsamurai26 commented on GitHub (Nov 19, 2024): And what i see is that between https:// and the ip is a space ![image](https://github.com/user-attachments/assets/8a48fef2-e22c-495e-a2e9-c172dacd5349)
Author
Owner

@RafaelMachadok2xt commented on GitHub (Nov 19, 2024):

May i ask why youre trying to connect to port 9000 of portainer via https? Thats the http port, https is 9443

It doesn't work on both ports .

<!-- gh-comment-id:2486493634 --> @RafaelMachadok2xt commented on GitHub (Nov 19, 2024): > May i ask why youre trying to connect to port 9000 of portainer via https? Thats the http port, https is 9443 It doesn't work on both ports .
Author
Owner

@RafaelMachadok2xt commented on GitHub (Nov 19, 2024):

And what i see is that between https:// and the ip is a space image

There isn't space between https:// and the ip

<!-- gh-comment-id:2486496340 --> @RafaelMachadok2xt commented on GitHub (Nov 19, 2024): > And what i see is that between https:// and the ip is a space ![image](https://private-user-images.githubusercontent.com/3257844/387701586-8a48fef2-e22c-495e-a2e9-c172dacd5349.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzIwNDIxNjIsIm5iZiI6MTczMjA0MTg2MiwicGF0aCI6Ii8zMjU3ODQ0LzM4NzcwMTU4Ni04YTQ4ZmVmMi1lMjJjLTQ5NWUtYTJlOS1jMTcyZGFjZDUzNDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTExOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDExMTlUMTg0NDIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjYyNTc3ZTlhZTE5YjY2ZWMxOWJlMzBmYmYzN2ZhNzA2MzFjOWRmOTI5NDE2NDM3YWVmMzU4NDk1NzQ1NTMwYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.nV4NDA-PVWTEDz4QxM77xeQjvh02VHeXWLsBYL4u-qA) There isn't space between https:// and the ip
Author
Owner

@Mainfrezzer commented on GitHub (Nov 19, 2024):

May i ask why youre trying to connect to port 9000 of portainer via https? Thats the http port, https is 9443

It doesn't work on both ports .

Is your portainer also exposed on the host with those ports?

Portainer
Nginx
Portainer-Public

<!-- gh-comment-id:2486696809 --> @Mainfrezzer commented on GitHub (Nov 19, 2024): > > May i ask why youre trying to connect to port 9000 of portainer via https? Thats the http port, https is 9443 > > It doesn't work on both ports . Is your portainer also exposed on the host with those ports? ![Portainer](https://github.com/user-attachments/assets/d264f223-cb0f-4bf2-b74c-a6b263b90dd1) ![Nginx](https://github.com/user-attachments/assets/9d14a70c-2f86-4f3d-993e-7ace36ec56b5) ![Portainer-Public](https://github.com/user-attachments/assets/af55f38d-673f-4180-8e8c-b1cdb04b6159)
Author
Owner

@lastsamurai26 commented on GitHub (Nov 20, 2024):

And what i see is that between https:// and the ip is a space image

There isn't space between https:// and the ip

ok then compare this one with yours

image
;-) then you will see it

<!-- gh-comment-id:2487875146 --> @lastsamurai26 commented on GitHub (Nov 20, 2024): > > And what i see is that between https:// and the ip is a space ![image](https://private-user-images.githubusercontent.com/3257844/387701586-8a48fef2-e22c-495e-a2e9-c172dacd5349.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzIwNDIxNjIsIm5iZiI6MTczMjA0MTg2MiwicGF0aCI6Ii8zMjU3ODQ0LzM4NzcwMTU4Ni04YTQ4ZmVmMi1lMjJjLTQ5NWUtYTJlOS1jMTcyZGFjZDUzNDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTExOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDExMTlUMTg0NDIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjYyNTc3ZTlhZTE5YjY2ZWMxOWJlMzBmYmYzN2ZhNzA2MzFjOWRmOTI5NDE2NDM3YWVmMzU4NDk1NzQ1NTMwYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.nV4NDA-PVWTEDz4QxM77xeQjvh02VHeXWLsBYL4u-qA) > > There isn't space between https:// and the ip ok then compare this one with yours ![image](https://github.com/user-attachments/assets/43a61e6f-0baa-4f3d-92e8-eaf34c8bfecf) ;-) then you will see it
Author
Owner

@github-actions[bot] commented on GitHub (Jun 25, 2025):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:3002400224 --> @github-actions[bot] commented on GitHub (Jun 25, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2704
No description provided.