serve static content on static domain

Edho Arief edho at myconan.net
Fri Apr 6 13:46:26 UTC 2012


2012/4/6 zuckbin <nginx-forum at nginx.us>:
> Hi,
>
> How to serve static content on static domain cookieless.
>
> I use ngix to serve static content then apache to dynamic content.
>
> Want to serve on static.mydomain.com all static content: jpeg, css, js,
> ...
>

Then you should tell your app to link static contents at
static.mydomain.com instead of mydomain.com and then add its server
block.



More information about the nginx mailing list