Skip to content

Add Nginx instructions to guide #1867

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

Merged
merged 4 commits into from
Jul 21, 2020
Merged

Add Nginx instructions to guide #1867

merged 4 commits into from
Jul 21, 2020

Conversation

Niek
Copy link
Contributor

@Niek Niek commented Jul 6, 2020

Added Nginx instructions for people who prefer to use this instead of Caddy

See for example issue #770

Added Nginx instructions for people who prefer to use this instead of Caddy
@Niek Niek requested review from code-asher and nhooyr as code owners July 6, 2020 09:00
@nhooyr
Copy link
Contributor

nhooyr commented Jul 16, 2020

My reasoning to leave this out was that any user that can't setup Nginx without an example should be using Caddy instead. It's better on every front.

@nhooyr
Copy link
Contributor

nhooyr commented Jul 16, 2020

cc @code-asher

@nhooyr
Copy link
Contributor

nhooyr commented Jul 16, 2020

We've had so many issues filed from people just not understanding how to configure nginx.

@code-asher
Copy link
Member

Yeah maybe it's worth having it just on account of all the issues. If so, we should add a trailing slash to the proxy_pass line since that makes sub-paths work and I've had to explain that at least a few times in various issues I think.

@Niek
Copy link
Contributor Author

Niek commented Jul 16, 2020

IMHO it never hurts to have too much documentation. Even if Caddy is good for 95% of the users, I think those 5% with existing nginx installs would appreciate it.

I've added the trailing / now.

Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey sorry it took a while to get back to this.

@code-asher code-asher merged commit d3164fc into coder:master Jul 21, 2020
@code-asher
Copy link
Member

Thanks for the contribution!

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

Successfully merging this pull request may close these issues.

3 participants