Dynamic Subdomain Configuration

Maxim Dounin mdounin at mdounin.ru
Mon Feb 20 21:15:11 UTC 2012


On Mon, Feb 20, 2012 at 02:55:39PM -0500, justin wrote:

> Edho,
> Thank you very much for the assistance. Here is what I used, and seems
> to be working perfectly:


>   access_log /var/log/nginx/vhosts/$user.access.log;
>   error_log /var/log/nginx/vhosts/$user.error.log;

Note: the "error_log" directive doesn't support variables, and 
this will log all errors into "$user.error.log" file.

Maxim Dounin

More information about the nginx mailing list