-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
Description
Checklist
- 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
After updating NPM ( docker compose pull && docker compose up -d) everything was OK until i edited a host.
After that the host started failing. After some debug i found a entry in /var/log/nginx/error.log stating
"map not allowed here"
I managed to find the map entry in the middle of the conf and it's this:
map $scheme $hsts_header {
https "max-age=63072000; preload";
}
This is suffixed on each of my custom locations for that host.
I edited the _hsts_map.conf
to comment them and the error was solved, but this won't survive a docker restart.
Nginx Proxy Manager Version
v2.11.0 © 2024 jc21.com.
To Reproduce
Steps to reproduce the behavior:
- Update to latest
- Edit any host
- Save
- See error
theoisadoor, octa-one, tobilektri, megazhuk, KairuByte and 8 more