I don't think that you can use a path behind the server. The Upstream server is a server name itself (with port), not with something like "/something" at the end.by Wolfsrudel - Nginx Mailing List - English
Can you please do a `grep 'fastcgi_pass ' /etc/nginx/*/*` and post the output? Maybe there are other configuration files with a fefault 'fastcgi_pass' which overwrites your vhost.by Wolfsrudel - Nginx Mailing List - English
Dump question, but why did you put the vhost-files into "conf.d"? Normally they are stored in "sites-available" and symlinked in "sites-enabled". nginx (as apache) uses this directory to read all information about the vhosts. Are there any templates in "sites-enabled"? How do they look like?by Wolfsrudel - Nginx Mailing List - English
Ok, now know what your problem is. :D This is my catch-all vhost: server { listen 80 default_server; server_name _; error_log /var/log/nginx/default-error.log; proxy_set_header Host $host; return 301 $scheme://www.template-domain.local$request_uri; } Forget about the "return 301"by Wolfsrudel - How to...
Try this one in your proxy settings: proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; And remove the line: proxy_set_header X-Real-IP $remote_addr;by Wolfsrudel - How to...
nginx itself does not server cgi. Try this one: http://www.howtoforge.com/serving-cgi-scripts-with-nginx-on-debian-squeeze-ubuntu-11.04by Wolfsrudel - Migration from Other Servers
This could be anything. Maybe your PHP(?) is running out of memory, so you'll have to configure "memory_limit" in php.ini to a higher value. Just one idea. Without any further information it's impossible to guess.by Wolfsrudel - How to...
You could put this block in a config file located in /etc/nginx/conf.d and include it in every vhost. So you wouldn't need the whole block in every configuration. Just one line: the include. :)by Wolfsrudel - How to...
This could be a catch all default vhost: server { listen 80 default_server; server_name _; rewrite ^ https://domain.com permanent; }by Wolfsrudel - Php-fpm Mailing List - English
I'm using 'monit' for this purpose: http://mmonit.com/wiki/Monit/ConfigurationExamplesby Wolfsrudel - How to...
Even with the 'ip_has;' inserted in you upstream configuration? (+ nginx restart ;))by Wolfsrudel - How to...
You'll have to insert 'ip_hash;' to your upstream configuration: upstream integration { ip_hash; server 172.20.0.12:80; server 172.20.0.13:80; }by Wolfsrudel - How to...
Can you show us the configuration for the upstreams?by Wolfsrudel - How to...
You could try this one for Windows: http://winginx.comby Wolfsrudel - Migration from Other Servers
http://bash.cyberciti.biz/web-server/nginx-shell-script-to-block-spamhaus-lasso-drop-spam-ip-address/by Wolfsrudel - Nginx Mailing List - English
Yes you can! You'll have to include the file in the right block ("http{}", "location{}", etc.) e.g.: "include /etc/nginx/conf.d/rewrites.conf"by Wolfsrudel - How to...
Did you already try this repository? http://ppa.launchpad.net/nginx/stable/ubuntu/dists/precise/ It's "only" 1.2.3, but newer than yours. ;) 'development' instead of 'stable' will give you version 1.3.6.by Wolfsrudel - How to...
Happy birthday from Germany, too! :)by Wolfsrudel - Nginx Mailing List - English
Try this one: (nginx.conf) worker_processes 4; # depending on number of processors worker_cpu_affinity 0001 0010 0100 1000; # bind the worker process to a CPU worker_priority -1; worker_rlimit_nofile 8162;by Wolfsrudel - How to...
Couldn't test... location / { if (-e $request_filename){ rewrite ^/(.*)\.ajax?$ /ajax.php?module=$1 break; } rewrite ^/(.*)\.form?$ /form.php?module=$1 break; rewrite ^/(.*)\/(stranka-[0-9-]+)?$ /$1?p=$2 break; rewrite ^/(+)\/(+)\/(+)?$ /index.php?page=$1&subpage=$2&cid=$3 break; rewrite ^/(+)\/(+)?$ /index.php?page=$1&subpage=$2 break; rewrite ^/(+)?$ /index.php?by Wolfsrudel - How to...
Try to diff with the results of the converter: http://winginx.com/htaccessby Wolfsrudel - Nginx Mailing List - English
"If is evil"... use "try_files" instead. try_files $uri $uri/ /index.php;by Wolfsrudel - How to...