Hi, all. I had just deploy two nginx servers and made them high-available using keepalived. I tested it, and HA works fine. But I had some new questions here: 1st, When I edited the nginx.conf in master server, how to transfer the conf file to backup server immediately? 2nd, And after I edited , I should run 'nginx -s reload' in the master server, how can backup server do the same without manualby baalchina - Nginx Mailing List - English
Hi, I had a nginx working as reverse proxy, and all my backend are http protocol. I want to filter the content, for example, if the content has a work like 'virus', then nginx return a 403. When I looked the ngx_http_sub_module, seems it can replace the content, such as replace 'virus' to 'health', but can not return a 403? Thanks. -- from:baalchina ____________________________________________by baalchina - Nginx Mailing List - English
Hi all, I had an nginx as a reserve proxy, with many web sites behind. And the nginx listen in 443(https) and 80(http). But not all my sites behind support https, so in some sites ,I only listen 80, like this: * server { listen 80; listen [::]:80; server_name nossl.abc.com http://nossl.abc.com/; location / { proxy_pass_header Server; proxy_set_header Hostby baalchina - Nginx Mailing List - English
Hi all, I am using nginx as my reverse proxy, and I do not want all Excel files in my server to be accessed in the internet. So I add this in my nginx.conf: location ~* \.(xls|xlsx)$ { allow 10.0.0.0/8; deny all; } while my intranet address is 10.0.0.0/8. I found in internet, nginx return a 403 error, that's correct. But in my intranet, which ip in 10.0.0.0/8, nginx returby baalchina - Nginx Mailing List - English
Hi everyone, I am using nginx 1.4.1 and php-fpm 5.3.25. Everything is fine except when I uploading files to server. I have a Discuz! x3(a forum system) and when I post threads, except attachment everything is fine, but when I add a small files(such as 30k rar,jpg or else), nginx give me a 500 error. I checked the nginx/site error, but have no usefule information. nginx only tell me a got an 50by baalchina - Nginx Mailing List - English
http://en.wikipedia.org/wiki/SPDY It seems spdy much faster than http?by baalchina - Nginx Mailing List - English
Hello everyone, I am working on an centos6 with nginx 1.0.6, php 5.3.6, and fpm. I found that php file in my subdirectory returns a 404,but in nginx home direcory works fine. For example , a phpinfo.php file works fine in /data/web/, where /data/web is my nginx document root. Buy the same file in /data/web/sub, the browser and nginx both tell a 404 error. Here is my nginx config fileby baalchina - Nginx Mailing List - English