Skip to content

Add ability to insert an additional location block & custom configuration #6

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

khaliqgant
Copy link

• Additional location block use case is to add in an additional header in my case a websockets location:

metadata:
    annotations:
      location_block_header: "subscriptions/"

• Allow for other ssl protocols and ciphers
• Custom security header support and proxy-headers and in the above use case upgrade-protocol-headers

  security-headers.conf: |-
    server_tokens off;
    proxy_hide_header X-Powered-By;
  proxy-headers.conf: |-
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Host $http_host;
    proxy_set_header X-NginX-Proxy true;
  upgrade-protocol-headers.conf: |-
    proxy_set_header Host $http_host;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
  nginx.conf: |-

@andrii-lundiak
Copy link

So, @khaliqgant it's 2021, so what the idea of maintaining this @kylemcc repo? Kyle are you there? Is this PR looks OK to you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants