Quantcast
Channel: Nginx Forum - Other discussion
Browsing all 972 articles
Browse latest View live
↧

Re: limit_req does not work

I know this will be a bit of a pain but the way I can think of doing it in that case is something along the lines of:location = /test {rewrite ^(.*)$ /test.txt;}location = / {limit_req zone=myzone...

View Article


Nginx to transmux rtmp live stream to hls

All,I have a question and hope to get some help from experienced members.I have nginx installed with rtmp module.I have an external rtmp stream from the internet, in the format...

View Article


Should I define a different limit_req_zone for every virtual host?

I have a server with multiple virtual hosts, that is, multiple websites running. I want to set request limits, using "limit_req_zone" and "limit_req".I've already got it to work, I've read all the...

View Article

Re: Should I define a different limit_req_zone for every virtual host?

Define your zones in one place and use them where you need them, and yes you need multiple zones if you don't want mixed results. A zone is one cache after all, so each entry is only unique to it's zone.

View Article

Expected Server configuration for 100 users

Hi,We are configuring the NGINX as a reverse proxy. We are expecting some 100 concurrent users or connections/sessions to be active at any given moment of time. Right now the server is acting as a...

View Article


Nginx with NginxZip mod

Hi guys,Mod : http://wiki.nginx.org/NgxZipGit : https://github.com/evanmiller/mod_zipI request your help for the use of this mod on my service.I'm just confused how to use this mod properly and...

View Article

Cannot find RunHiddenConsole

I want to set up PHP as FastCGI within Nginx for Windows, and I need to find RunHiddenConsole.exe to do it. At this time, I can't find this program anywhere. Can someone please tell me where I can...

View Article

Re: Cannot find RunHiddenConsole

Use the installer and tools for PHP from here: http://nginx-win.ecsds.eu/

View Article


/usr/local/nginx/logs/nginx.pid" failed

greeting,i have a server installed nginx streamingi did stop nginx and then did reload it, but it show me below error and was not start:==nginx -s reloadnginx: [error] open()...

View Article


Can I patch a security vulnerability instead of upgrading nginx?

Hi,There is this nginx DNS Resolver Remote Heap Buffer Overflow Vulnerability affects below nginx 1.1.0The recommended solution is to upgrade to nginx 1.1.0 and...

View Article

Re: Can I patch a security vulnerability instead of upgrading nginx?

Patching may bring more issues then a full upgrade, either to the stable branch or the latest branch. Best advice is to bring it to the latest branch on a proper test system to work out any issues.

View Article

what happens to active connections when an upstream server is marked as down?

When updating an upstream group configuration, what happens if the server has live/active connections when marking the server as down (in the server directive)? I assume here that we HUP the NGINX...

View Article

Re: what happens to active connections when an upstream server is marked as...

The worker busy with requests will keep on until it has finished.

View Article


Re: what happens to active connections when an upstream server is marked as...

Thanks itpp2012. I had a feeling that would be the case but I really wanted to be use.

View Article

Graceful shutdown and idle connection

Considering the following sequence of events:1. A client makes a connection with Nginx, no data is sent as yet2. Nginx receives a SIGQUIT,graceful shutdown signal2a. If there is no data from client,...

View Article


Permissions on /var/www/html for uploading web site files via SFTP

Hi,I've installed nginx successfully on an Ubuntu instance at DigitalOcean. The index.html page (in /var/www/html) displays appropriately: "Welcome to nginx on Debian."Now I want to upload some files...

View Article

POST data pattern search

Hello AllI want to search for a particular pattern in the POST data of the request and action on it according to the results of searchif ($request_body ~* (myvalue)){proxy_pass http://http_backend;}I...

View Article


Re: POST data pattern search

Only with Lua, https://github.com/chaoslawful/lua-nginx-moduleSee also https://groups.google.com/forum/#!forum/openresty-en

View Article

upstream-timed-out-110-connection-timed-out

HiCurrently Encountering error upstream-timed-out-110-connection-timed-out. As a fix to this error I added proxy_read_timeout as shown below.location / {...proxy_read_timeout 300;...}Even after adding...

View Article

convert apache2 conf files

HelloI'm new, but a lover of NGINX and its concept.I need a Converter convert 2 or configuration files with uwsgi functions as follows:## The extremely high timeout is required by...

View Article
Browsing all 972 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>