Skip to content

Commit

Permalink
Add octoprint ingress header
Browse files Browse the repository at this point in the history
  • Loading branch information
H3mul committed Nov 21, 2024
1 parent 292d887 commit cb61d26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cluster/static-endpoint-ingress/octoprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ metadata:
name: octoprint
namespace: static-endpoint-ingress
annotations:
nginx.ingress.kubernetes.io/proxy-buffering: "off"
nginx.ingress.kubernetes.io/proxy-body-size: 0
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Host $http_host;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
spec:
ingressClassName: nginx
Expand Down

0 comments on commit cb61d26

Please sign in to comment.