Thank you.by alexk - Nginx Mailing List - English
Hi, I have Zend Framework project working so all non static requests are forwarded to public/index.php. But now I need to allow PHP scripts from another folder - /generator/ to work as usual. So I've added another location and use "fastcgi_param SCRIPT_FILENAME /var/www/new/public/generator$fastcgi_script_name;" As a result it returns "No input file specified.". Not surby alexk - Nginx Mailing List - English
Hi, I have nginx as proxy to apache. Sometimes AJAX responses are cutting off. And it mostly appears in Safari. In FF it appears rarely. In error.log I found this record. Not sure what does it mean though: 2010/09/20 12:46:51 11465#0: *87523 open() "/etc/nginx/proxy_temp/6/08/0000000086" failed (13: Permission denied) while reading upstream, client: **.***.**.**, server: ******by alexk - Nginx Mailing List - English
Igor, I've already replaced it to proxy_pass http://127.0.0.1:8080; after your first post. And now when I change it to: server { listen 80; ... } It removes double slashes. With domain name it works just well. Thanks, Alexby alexk - Nginx Mailing List - English
Sorry vice versa :) With domain name it works well. But when port is specified in listen it removes double slashes.by alexk - Nginx Mailing List - English
Strange, When post is specified in listen directive: server { listen 80; ... } it works well with double slashes. But when using domain name in listen directive server { listen *****.com; ... } it removes double slashes.by alexk - Nginx Mailing List - English
Strange but it fixed the problem. Thanks a lot!by alexk - Nginx Mailing List - English
Hi all, I have web server where nginx is using as proxy for PHP scripts and web server for static files. I use the following configuration: server { listen 80; server_name *********.com; access_log /var/log/nginx/*********.com.access_log; location ~* \.(jpg|jpeg|gif|png|css|js|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|tar|wav|bmp|rtf|swf|ico|flv|txt|xml|docx|by alexk - Nginx Mailing List - English
Hi, What I want to do is separate /admin/ folder from rules that I use for zend framework in root of the site - redirecting everything to index.php. /admin/ folder should work in different way. It should execute each script that physically exists there. I've tried the following configuration but when I request /admin/index.php browser just offer to save it. location / { root /varby alexk - Php-fpm Mailing List - English