Skip to content

Nginx not redirecting correctly on fresh local install #2836

Closed
@coatmaker618

Description

@coatmaker618

Tried to follow the installation on this github page and I was able to get code-server installed, but I cannot get nginx to point to it successfully!

Background: I am selfhosting this service on it's own VM. After following the instructions on this github page I was able to navigate to the code-server http URL. However, the prescribed nginx code gives me a 502 (bad gateway) rather than the desired page. Before deleting the default nginx page (not listed in instructions), I DID get the "welcome to nginx" page, so it would seem nginx is installed correctly. I'm sure it's something simple, and yes, I did change the URL in "server_name".

Any advice would be appreciated, and once i get this running, I'd be happy to update the docs for a self-hosted instructions if desired.

Reporting Disclaimer: This may be fixed with a documentation change, but as it's preventing VSCode from being usable, I'm currently considering it a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions