Wanted to ask if someone could explain benefits of nginx_apache setup for static content.
From what I'm aware of, each static request goes via nginx proxy to apache which then returns static content back to nginx which then servers it to a client. I was thinking that in case static content is accessed nginx serves it directly, but after working on modifying headers noticed that nginx always returns headers set by apache for static content. Am I wrong here?
From what I'm aware of, each static request goes via nginx proxy to apache which then returns static content back to nginx which then servers it to a client. I was thinking that in case static content is accessed nginx serves it directly, but after working on modifying headers noticed that nginx always returns headers set by apache for static content. Am I wrong here?