Skip to content
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

BrowserCMS v3.5.7 caching with NGINX - help needed #744

Open
kitebuggy opened this issue Nov 1, 2014 · 0 comments
Open

BrowserCMS v3.5.7 caching with NGINX - help needed #744

kitebuggy opened this issue Nov 1, 2014 · 0 comments

Comments

@kitebuggy
Copy link

I'm struggling to understand how caching should be set-up, as I'm relatively new to RoR caching and to NGINX.

From BrowserCMS's deployment guide: "One way to improve the performance of BrowserCMS is to enable X-Sendfile."

So my config/production.rb file now has the following uncommented, as per the instructions:

config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx

The last paragraph simply states: "You will then need to configure your web server to handle X-Sendfile requests. See documentation for Apache and Nginx for details."

However, I can't see any documentation in either location that tells me what nginx config changes I would need to do to make this feature work. Help!?

My nginx file is based on the suggested code in the BrowserCMS deployment guide, just altered for my own domain. Any hints, code snippets, etc. gratefully accepted. Thanks in advance.

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