Subdomain configuration problem (1 reply)
Hi,I'm beginner in nginx, and i have searched google and mailing list but noluck.my nginx.conf:http{server{listen 80;server_name example.com www.example.com;location / {proxy_pass...
View ArticleNginx 1.8 proxying to Netty - timeout from upstream (1 reply)
I have setup Nginx proxy to a Netty server. I am seeing a timeout from upstream, i.e. Netty. The consequence of this timeout is that the JSON payload response is truncated (as seen on browser developer...
View ArticleFetching a string by parsing URL (6 replies)
I have a web server sitting behind Nginx. If there is an error, then I want to fetch some information from the url and pass it on to a static file as parameters. I have configured Nginx to fetch the...
View Articleproxy_pass redirection (1 reply)
Hi,I'm new to Nginx and we are using for reverse proxy.I'm able to configured Nginx and it's working but I've challenge inconfiguring it for Dynamic proxy_pass. I've tried to use wild charactersin...
View ArticleHow to run nginx unit tests? (2 replies)
Hello .. I just built and installed nginx on my Linux system. Are there any unit/smoke/regression tests available to test the install?Thanks for your help.
View ArticleDoubt about killapache attack on nginx server (no replies)
Hi, I am running nginx 1.0.11 standalone. Recently someone told me that my server is vulnerable to apache killer attack because when he run the following script, it shows "host seems vuln". I searched...
View ArticleTweak fastcgi_buffer (no replies)
Hello,I need to tweak fastcgi_buffer to 1m on a website that has heavy requeststo avoid buffer. If I use a distro with 4096 pagesize, is it better to do256x 4k or 4x 256k?[root@web ~]# getconf...
View ArticleNginx writing to Cephfs (2 replies)
Hello,I'm having an issue with nginx writing to cephfs. Often I'm getting:writev() "/home/ceph/temp/44/94/1/0000119444" failed (4: Interruptedsystem call) while reading upstreamlooking with strace,...
View Articlekeepalive_timeout timeout causes high TTFB (1 reply)
I am trying to further optimize SSL but if i enable keepalive_timeout i get high TTFB as shown in the report belowhttp://tools.pingdom.com/fpt/#!/KggzFWhen i disable keepalive_timeout , TTFB is fixed...
View ArticleOptimzing hard drive IO for proxy_pass (no replies)
I have server A with a large HDD at IDC 1 (TB hdd)I have server B with cheap bandwidth at IDC 2 (very small virtual server 20GB hdd)I send all image requests to server B, and it caches from A.My...
View Articleupstart conf for managing nginx (1 reply)
Hello,I wrote a small upstart script to stop/start nginx through upstart. This ishow it looksdescription "nginx http daemon"start on (filesystem and net-device-up IFACE=lo)stop on runlevel...
View ArticleAlias regex use causing core dump as of nginx 1.7.1 (2 replies)
Hi, after upgrading from the v1.6.3 to v1.8.0 stable branch an alias I used for Roundcubemail no longer works.I traced the issue back to a probable change made in nginx v1.7.1:"Bugfix: the "alias"...
View ArticleOptimzing hard drive IO for proxy_pass (1 reply)
I have server A with a large HDD at IDC 1 (TB hdd)I have server B with cheap bandwidth at IDC 2 (very small virtual server 20GB hdd)I send all image requests to server B, and it caches from A.My...
View ArticleUsing dynamic access_log, automatically create parent directory (no replies)
We use a dynamic value for access logs:access_log /var/log/nginx/domains/$host/access.log main;However, if the $host directory does not exist in /var/log/nginx/domains nginx fails with an error...
View ArticleNginx response with persistence session and backend server failure (2 replies)
Hello all,I was reading Nginx documentation<http://nginx.org/en/docs/http/ngx_http_upstream_module.html?&_ga=1.189051176.2090890265.1437394769#sticky_cookie>onpersistence session using cookie...
View ArticleGeoIP data in access_log Nginx (1 reply)
Hello World,I would like to know if is possible to put GeoIP data (country for exemple) in my log access (nginx)I enabled the GeoIP module in my nginx (configure) and i would like to use the...
View ArticleIs SSL and Compression never secure in nginx? (3 replies)
Hi,I am working in a project where a password-protected extranet applicationis behind an nginx proxy using ssl.Now I asked the admin to enable server-side http-compression because wetend to have rather...
View Articlelog files as non root user (no replies)
Hello Everyone,I am trying to configure ngnix where logs and pid file are written to a custom path and owned as non root. When even I start ngnix these files are created and owned as root. In...
View Articlemp4 streaming/seeking works from firefox (fedora) and not from firefox...
greetings!i am seeing an unexplained malfunction here with nginx when serving videos. flv and mp4 files have different symptoms. mp4 streams correctly when i view the file in firefox 39 in fedora 22,...
View Articleproblem with images after refresh website (1 reply)
Hii run directadmin+nginx1.8+php5.4 php-fpmwhen i do refresh to website the images not refresh good, sometime after refresh it put images in wrong place or double the imagesyou can look on this website...
View Article