# Config nginx cache

**URL:** <https://www.ruby-forum.com/t/config-nginx-cache/244116>\
**Category:** NGINX\
**Created:** [February 22, 2016, 6:29pm UTC](https://www.ruby-forum.com/t/config-nginx-cache/244116 "2016-02-22T18:29:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [February 22, 2016, 6:29pm UTC](https://www.ruby-forum.com/t/config-nginx-cache/244116/1 "2016-02-22T18:29:02Z")

</div>

Hello all  
how to config nginx to ac as both web server and cache server?  
I used these links but did not work

> **[Nginx Caching](https://serversforhackers.com/c/nginx-caching)**
>
> See how to cache both dynamic and static content using Nginx!

> **[A Guide to Caching with NGINX and NGINX Plus - NGINX](https://www.nginx.com/blog/nginx-caching-guide/)**
>
> Performance is critical to success, and caching is one basic tool for improving it. Learn all about caching with NGINX and NGINX Plus.

Thanks all

---

<div class="post-metadata">

**Author:** ![Fahimeh\_Ashrafy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/c68b51/32.png) [@Fahimeh\_Ashrafy](https://www.ruby-forum.com/u/Fahimeh_Ashrafy)\
**Post date:** [February 23, 2016, 8:54am UTC](https://www.ruby-forum.com/t/config-nginx-cache/244116/2 "2016-02-23T08:54:09Z")

</div>

> no help?

You have to be more specific.  
Saying “but did not work” doesn’t tell what’s the problem/issue -  
what/how  
did you test and what was the expected result?

Also providing the relevant configuration parts speeds up the process.

rr

---

<div class="post-metadata">

**Author:** ![Fahimeh\_Ashrafy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/c68b51/32.png) [@Fahimeh\_Ashrafy](https://www.ruby-forum.com/u/Fahimeh_Ashrafy)\
**Post date:** [February 23, 2016, 5:41am UTC](https://www.ruby-forum.com/t/config-nginx-cache/244116/3 "2016-02-23T05:41:23Z")

</div>

no help?

On Mon, Feb 22, 2016 at 8:58 PM, Fahimeh Ashrafy  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
