Try it with a mp4,flv,jpg file. Not documents that have a plain text mime type.

> To: nginx@nginx.org
> Subject: Re: RE: Windows | Nginx Mapped Hard Drive | Network Sharing
> From: nginx-fo...@nginx.us
> Date: Fri, 4 Apr 2014 18:59:50 -0400
> 
> I did a simple config:
> 
> server {
> listen 80;
> server_name localhost;
> 
> root Y:/www.mydomain.nl;
> index index.php index.html index.htm default.html default.htm;
> location / {
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $remote_addr;
> proxy_set_header Host $host;
> #proxy_pass http://127.0.0.1:8000;
> expires 3s;
> max_ranges 0;
> }
> # deny access to .htaccess files, if Apache's document root
> # concurs with nginx's one
> #
> location ~ /\.ht {
> return 404;
> }
> location ~
> ^/(xampp|security|phpmyadmin|licenses|webalizer|server-status|server-info|cpanel|configuration.php)
> {
> return 404;
> }    
> }
> 
> And accessed http://localhost/Disclaimer.txt
> which works perfectly, your config is not optimal but the share works as it
> suppose to.
> so its definitely a config issue and not a share issue.
> 
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?2,249008,249021#msg-249021
> 
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
                                          
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to