checking headers

2016-05-28 Thread Larry Martell
Is there any way with nginx to check a request's headers and send back a 401 if the headers are not proper? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Return default placeholder image when image file on server not found

2016-05-28 Thread JoakimR
What is the right way to convert this from .htaccess to nginx.conf.. ##Return default placeholder image when image file on server not found RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteRule \.(gif|jpe?g|png) /image404.php [NC,L] Posted at Nginx Forum: https://forum.nginx.org/read.php?2,

HTTP not working / downloads 57 byte small file

2016-05-28 Thread rzmpl
Hello, like mentioned in the title HTTP isn't working at all anymore. HTTPS works fine. I already tried default vhost config but no luck there. I have no idea what is going on and I didn't even find anything with google either. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267210,2672