Skip to content

fix: does not work in Nuxt 3 dev-mode / with ipv6 #8

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
dargmuesli opened this issue Nov 22, 2022 · 0 comments
Open

fix: does not work in Nuxt 3 dev-mode / with ipv6 #8

dargmuesli opened this issue Nov 22, 2022 · 0 comments

Comments

@dargmuesli
Copy link

dargmuesli commented Nov 22, 2022

When is-https is used in Nuxt 3 development mode with --https --ssl-cert foo --ssl-key bar

  • req.connection.encrypted is not set, eventhough it should be
  • req.headers['x-forwarded-proto'] is equal to IPv6, eventhough it should be https

Trying the reproduction https://stackblitz.com/edit/github-jwgna1?file=app.vue the console only prints undefined for all console logs.

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

No branches or pull requests

1 participant