Skip to content

Web Application is loosing its Session Cookie #6490

Answered by webvictim
tacerus asked this question in Q&A
Discussion options

You must be logged in to vote

My guess is that the session cookie is being set against the internal domain used by nginx/nsedit and so isn't passed through by Teleport (because what the application thinks its public address is and its actual public address behind Teleport are different)

You can try something like adding a redirect configuration to your Teleport app_service:

app_service:
  enabled: yes
  apps:
  - name: "nsedit1"
    uri: "https://nsedit1-local.secure.example.com:8083"
    public_addr: "nsedit1.secure.example.com"
    insecure_skip_verify: false
    labels:
     generic: "admins"
    redirect:
      rewrite:
      - nsedit1-local.secure.example.com

Also, the public_addr here should be a subdomain of Te…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by webvictim
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants