Closed
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
When creating a proxy host with HTTP/2 support disabled, the listen
-directive still looks as follows:
listen 443 ssl http2;
I tried to look through the source code, but in the _listen.conf
file, but that does have the {% if http2_support %}
-part. so I guess the variable http2_support
isn't set properly. I don't quite understand where that variable is set or used in the code (in nginx.js
?), so I can't submit a PR.
Nginx Proxy Manager Version
Version 2.9.19 (specifically, the Docker image that has tag 2
).
To Reproduce
Steps to reproduce the behavior:
- Create a new proxy host
- Ensure HTTP/2 support is off
- Examine the file at
/data/nginx/proxy_host/
and note howhttp2
is still present in thelisten
directive.
Expected behavior
http2
is not present in the directive.
Screenshots
Operating System
Ubuntu 22.04 LTS.
Additional context