Nginx treat php files as .txt per virtualhost

hi guys,

i have 2 virtualhosts

this is the http directive.

http {
include mime.types;
default_type application/octet-stream;
server_names_hash_bucket_size 128;
log_format main '$remote_addr - $remote_user [$time_local]
$request ’
'"$status" $body_bytes_sent “$http_referer” ’
‘"$http_user_agent" “$http_x_forwarded_for”’;
access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 20;
#gzip on;

i would like to be able to use mime2.types for host2 and mime.type for
host1

is this possible?

On Wed, Mar 12, 2008 at 02:44:26PM +0100, Stefanita rares Dumitrescu
wrote:

                  '"$status" $body_bytes_sent "$http_referer" '

is this possible?
include mime.types;

 server {
     include mime2.types;
 }

However, content-type for .php should be set by backend.