weird redirect
Martin Schut
nginx at wommm.nl
Thu Feb 21 22:40:03 MSK 2008
> reading the docs helped (surprise, surprise), thanks :-)
>
> perhaps it would be a good idea to allow nginx to apply more than one
> configuration at a time?
That would create unreadable config files, I think.
Consider:
location /~redduck666 {
alias /home/redduck666/static_html;
}
location ~ .ogg$ {
access_log /var/log/nginx/ogg.log;
alias /home/redduck666/oggs;
}
From which root should /~redduck666/<anything>.ogg be served?
You probably will usggest the last location specified but this will become
cumbersome when other config-files are included.
The current solution is very clear.
Regards,
Martin
More information about the nginx
mailing list