-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[Guides] Add documentation for using Rails with a reverse proxy [ci skip] #13988
Conversation
(un)related: if the pull-request title has |
It needs to be on the commit, otherwise it runs now and after the merge it runs again. Mind amending the commit to add ci skip? |
TODO | ||
Alternatively, you can use [unicorn](http://unicorn.bogomips.org/) to run your | ||
application behind a reverse proxy. You can find more information in the | ||
[unicorn readme](http://unicorn.bogomips.org/index.html#label-Usage) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The anchor is not working, also I think better to point to http://unicorn.bogomips.org/PHILOSOPHY.html page where is described more about reverse proxing. what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pftg That's because I committed this on a plane without internet, I was just guessing based of what is generated from RDoc on the unicorn source.
It also seems likely that the unicorn docs haven't been generated with a modern version of RDoc in a while, so it's missing the anchor tags.
Let's leave this open until we can fix up the unicorn README and get them to regenerate the docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section is specifically about deploying to a subdirectory. We should explain the rough basics how things have to be setup on the proxy side and the application server.
Unicorn is just one possibility so it would be better to explain the concepts isolated from proxy / application server.
@carlosantoniodasilva Sure! I need to fix the link before I |
@zzak ping! |
|
||
Many modern web servers can be used as a proxy server to balance third-party elements such as caching servers or application servers. | ||
|
||
One such application server you can use is [unicorn](http://unicorn.bogomips.org/) to run behind a reverse proxy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/unicorn/Unicorn - here and all other instances.
@zzak : Could you wrap your additions around 80 chars please ? This looks good to me so far, thanks! :-) |
@robin850 I didn't wrap because that would be inconsistent with the rest of the document. |
[Guides] Add documentation for using Rails with a reverse proxy [ci skip]
Yup I know, but we are slowly wrapping new additions anyway to avoid making a big commit that'd make git blame a mess but I guess we will have to since nobody wrap their addition. Thanks for the patch anyway! :-) |
No description provided.