Skip to content

document running nuxt dev server behind nginx + SSL + proxy #12003

Description

@quartze

Environment


  • Operating System: Linux
  • Node Version: v16.11.1
  • Nuxt Version: 3-3.0.0-27235451.ece0e01
  • Package Manager: Yarn
  • Bundler: Webpack
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Describe the bug

Trying to start development server for people on nginx engine. When i'm starting with cli nuxt, i'm getting infinite reloads on page with error WebSocket connection to wss://example.com:24678/_nuxt/ failed`. Is there any chance to start nuxt with proxy on nginx?

Reproduction

Just cloned default project.

Additional context

No response

Logs

Nothing in nuxt3

Metadata

Metadata

Assignees

No one assigned

    Labels

    📚 documentationDocumentation improvements or additions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions