brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grkvlt <...@git.apache.org>
Subject [GitHub] brooklyn-library issue #56: Update Nginx config file generator and add suppo...
Date Mon, 15 Aug 2016 11:31:09 GMT
Github user grkvlt commented on the issue:

    https://github.com/apache/brooklyn-library/pull/56
  
    @aledsage the existing Nginx tests are sufficient to verify there are no regressions,
however the use-case for this code is no longer as urgent. It is still a useful change, since
it supports HTTP 1.1 and connection upgrades properly now, and the code is also more readable.
    
    The change to the config file that adds this is the addition of these two groups of lines:
    
    ```
        map $http_upgrade $connection_upgrade {
          default Upgrade;
          ''      close;
        }
    ```
    ```
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message