[BlueOnyx:26638] Re: Edit Nginx

Colin Jack colin at mainline.co.uk
Wed Dec 6 04:15:39 -05 2023


Thanks Michael,


Yeah, because Nginx is just doing proxy for HTTPs and Apache is serving
the content anyway. So you don't edit the Nginx configs at all and
instead configure Apache the way you want it.


That advice might be outdated and not worth the effort. For example: It
lists swf and Flash has been deprecated quite a while ago. Likewise:
These days pretty much no browser honors 365 days of caching content.
Settings this globally for the whole server might also not be wise and
for those Vsites that need different cache control defaults one could
easily throw in a .htaccess that has the desired rules.

Here are a couple of examples for that:

https://robinroelofsen.com/browser-caching-htaccess-apache

That’s great. That all makes perfect sense.

Kind regards

Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20231206/9de6e5c6/attachment.html>


More information about the Blueonyx mailing list