Welcome! Log In Create A New Profile

Advanced

Caching/storing hostname mapping?

March 11, 2011 12:01PM
I have some nginx configs that sometimes host mutiple domains and some file requests are mapped to the disk using some language.

And example would be WordPress MultiSite. Where blog1.example.com/files/file1.jpg makes to blogs.dir/1/file1.jpg and someanotherblog3.example.com/files/file2.jpg maps to blogs.dir/45/file2.jpg

These could be rewritting by hand individually to allow nginx to naturally cache the file, rather than handing it over to WordPress (PHP) map and server back to nginx.

Is there a way I can programmatically build these?
Subject Author Posted

Caching/storing hostname mapping?

graq March 11, 2011 12:01PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready