bolkedebruin / rdpgw

Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes
Apache License 2.0
758 stars 119 forks source link

[Question] Nginx #30

Open bcsanford opened 2 years ago

bcsanford commented 2 years ago

@bolkedebruin can this be setup behind a nginx reverse proxy so that is can share the IP address with other websites, i know you can do this with mesh central, but the goals are slightly different

label:question

krisss85 commented 2 years ago

@bcsanford we have it running behind nginx ingress controller on k8s so should be all fine things to consider nginx.ingress.kubernetes.io/session-cookie-name: rdpgw nginx.ingress.kubernetes.io/session-cookie-expires: '172800' nginx.ingress.kubernetes.io/session-cookie-max-age: '172800' nginx.ingress.kubernetes.io/affinity: cookie nginx.ingress.kubernetes.io/configuration-snippet: | proxy_set_header Upgrade "websocket"; proxy_set_header Connection "Upgrade";