Skip to content

Disable http/2 support #1220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

reykjalin
Copy link

Changes proposed in this pull request

Allow users to disable support for HTTP/2 by introducing a NO_HTTP2 environment variable for the nginx-proxy container.

This can be achieved by setting NO_HTTP2: "true" in the environment variables.

This is a proposed solution to #1055.

Example

Note: the example only illustrates where the environment variable should be used.

version: '2'
services:
  nginx-proxy:
    image: jwilder/nginx-proxy
    container_name: nginx-proxy
    ports:
      - "80:80"
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro
    environment:
      - NO_HTTP2: "true"

  whoami:
    image: jwilder/whoami
    environment:
      - VIRTUAL_HOST=whoami.local

Kristófer Reykjalín added 2 commits January 22, 2019 18:34
To disable support for HTTP/2 for all containers running behind
nginx-proxy, set 'NO_HTTP2' to "true" _on the nginx-proxy container_
@severinkaderli
Copy link

Is there any interest in merging this PR? This feature would be great to have!

@brot
Copy link

brot commented Dec 22, 2019

This feature would be great, because I have to disable HTTP2 support until a bug in okhttp is fixed.

@TheBlusky
Copy link

Any news on this feature ?

bugficks pushed a commit to bugficks/nginx-proxy that referenced this pull request Jul 22, 2020
bugficks pushed a commit to bugficks/nginx-proxy that referenced this pull request Jul 22, 2020
@buchdag buchdag added kind/feature-request Issue requesting a new feature status/pr-needs-tests This PR needs new or additional test(s) labels Apr 5, 2021
@buchdag buchdag added type/feat PR for a new feature and removed kind/feature-request Issue requesting a new feature labels Apr 29, 2021
@buchdag
Copy link
Member

buchdag commented Jun 9, 2021

This will be implemented soon by #1644

@buchdag buchdag closed this Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/pr-needs-tests This PR needs new or additional test(s) type/feat PR for a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy