You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
Yes
Are you sure you're not using someone else's docker image?
Yes
Have you searched for similar issues (both open and closed)?
Yes
Describe the bug
This seems, feels, and behaves like yet another error related to the plethora of issues reported with the version 2.11.0 and 2.11.1 but with another presentation.
Upon creation of a new "Proxy Host", without even accessing the "Custom Location" tab neither setting one, enabling the option "HSTS Enabled" in the "SSL" Section leads to an "Offline Status" with the following error: "unknown hsts_header variable".
I have already mounted an empty "_hsts_map.conf" at the "/app/templates/" path inside the container without any luck; disabling the "HSTS Enabled" toggle brings the host immediately on-line, working as expected.
I am using Cloudflare, both as domain registar with DNS managment and SSL Certificate Provider, with proper SSL and HSTS settings.
On a similar machine, using the previous NPM version (2.10.4) - as many other users mentioned - solved the issue.
Nginx Proxy Manager Version
V. 2.11.1 (tested and confirmed also with 2.11.0)
To Reproduce
Steps to reproduce the behavior:
Go to 'Proxy Hosts'
Click on 'Add Proxy Host'
Compile the "Details" tab as requested
Select a valid "Access List" option (in my setup, a Cloudflare ip-allow list)
Click on the "SSL" tab
Select the correct SSL Certificate
Enable the "Force SSL", "HTTP/2 Support" and "HSTS Enabled" options
Click on "Save"
Verify that the newly created Proxy Host is marked as "Offline" with the error reported above.
Additionally, upon deleting the above-created entry, docker logs for the container show an error about a file deletion:
Instead, on Version 2.10.4 the Log shows something a bit different, as soon as the Proxy Host is created altough it seems to be working as expected:
Duplicate relation "access_list" in a relation expression. You should use "a.[b, c]" instead of "[a.b, a.c]". This will cause an error in objection 2.0
[5/1/2024] [2:55:01 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/2.conf
[5/1/2024] [2:55:01 PM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"syscall": "unlink",
"code": "ENOENT",
"path": "/data/nginx/proxy_host/2.conf"
}
[5/1/2024] [2:55:01 PM] [Nginx ] › ℹ info Reloading Nginx
[5/1/2024] [2:55:01 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/2.conf
[5/1/2024] [2:55:01 PM] [Nginx ] › ℹ info Reloading Nginx
Expected behavior
The "Proxy Host" should be created without issues even with the "HSTS Support" enabled.
Screenshots
Operating System
Docker version 26.1.0, build 9714adc
Debian GNU/Linux 11 (bullseye)
Additional context
Somehow it seems related to the following: #3474#3678#3484#3512
Users have shared many different approaches to try and fix the issue in the comments, altough the results seems to vary; the consensus verges toward downgrading to v.2.10.4 to restore functionality.
The text was updated successfully, but these errors were encountered:
Checklist
jc21/nginx-proxy-manager:latest
docker image?Describe the bug
This seems, feels, and behaves like yet another error related to the plethora of issues reported with the version 2.11.0 and 2.11.1 but with another presentation.
Upon creation of a new "Proxy Host", without even accessing the "Custom Location" tab neither setting one, enabling the option "HSTS Enabled" in the "SSL" Section leads to an "Offline Status" with the following error: "unknown hsts_header variable".
I have already mounted an empty "_hsts_map.conf" at the "/app/templates/" path inside the container without any luck; disabling the "HSTS Enabled" toggle brings the host immediately on-line, working as expected.
I am using Cloudflare, both as domain registar with DNS managment and SSL Certificate Provider, with proper SSL and HSTS settings.
On a similar machine, using the previous NPM version (2.10.4) - as many other users mentioned - solved the issue.
Nginx Proxy Manager Version
V. 2.11.1 (tested and confirmed also with 2.11.0)
To Reproduce
Steps to reproduce the behavior:
Additionally, upon deleting the above-created entry, docker logs for the container show an error about a file deletion:
Instead, on Version 2.10.4 the Log shows something a bit different, as soon as the Proxy Host is created altough it seems to be working as expected:
Expected behavior
The "Proxy Host" should be created without issues even with the "HSTS Support" enabled.
Screenshots
Operating System
Docker version 26.1.0, build 9714adc
Debian GNU/Linux 11 (bullseye)
Additional context
Somehow it seems related to the following: #3474 #3678 #3484 #3512
Users have shared many different approaches to try and fix the issue in the comments, altough the results seems to vary; the consensus verges toward downgrading to v.2.10.4 to restore functionality.
The text was updated successfully, but these errors were encountered: