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

AWS DNS caching issue

Hello nginx-ers!I am trying to address AWS DNS caching issue, when our internal DNS names are pinting to AWS load-balancers which are often changes. Nginx caches DNS responses and the only workaround...

View Article


nginx: [emerg] "if" directive is not allowed here

I have that error, but I don't what why that.Anyone know how to fix it? Please help.Thank you

View Article


Re: nginx: [emerg] "if" directive is not allowed here

http://forum.nginx.org/read.php?1,252530

View Article

How to get the Request file name

Hi,I am trying to configure in nginx where I have a request which is coming like "GET /images/abc.jpg HTTP/...."I wanted to write a IF condition which should make a variable true if the request is for...

View Article

Total newbie, I need step by step instructions

Hello to evryone. I was searching how can I do video streaming from a computer but without using those online streaming services like Ustream. I want to use Adobe Flash Media Encoder but I understand...

View Article


Re: How to get the Request file name

Use 'map' for this and then use the mapped variable in an 'if',http://nginx.org/en/docs/http/ngx_http_map_module.html

View Article

Re: Total newbie, I need step by step instructions

See results from https://www.google.nl/#q=streaming+with+nginx-rtmp-module

View Article

Re: AWS DNS caching issue

Any suggestions, guys?

View Article


Rewrite rule for https

I had successfully redirected to http to https on few page of my site by following code in default.conf (nginx)location ~ /my-account {if ($scheme = 'http') {rewrite ^ https://$host$uri;}}but i would...

View Article


404 Not Foud by kirby

Hi,I use nginx 1.4.6 on Ubuntu 14.04.1 LTS, PHP 5.5.9.To install PHP with nginx I use direction on http://wiki.ubuntuusers.de/nginx.kirby I installit on my local mashin, the first calling is ok, but if...

View Article

nginX restful GET POST

I want to find out if there is an option to use nginX for following scenario:We have exposed the APIs which only support POST method.For the security side and not exposing the actual names of those...

View Article

NGINX Internal Load Balancing + PHP-FPM Upstream causing random double...

We are having a very serious problem where during seemingly random times, we get a duplicated request that is processed by our application. Typically, a user submits a form and occasionally will save...

View Article

Re: NGINX Internal Load Balancing + PHP-FPM Upstream causing random double...

Is the PHP script that is triggered taking longer than 15 seconds to respond? If so this could trigger one of the retries in your upstream section. Alternatively the emergency restart of the php-fpm...

View Article


limit_req does not work

Hi,I'm trying to implement a simple rate limiting system with nginx (v1.6.2)sites-available/mysite.com:limit_req_zone $binary_remote_addr zone=myzone:10m rate=2r/m;server {[..]location = /test...

View Article

Is it safe to use “open_file_cache” in this scenario?

I'm currently in the progress of switching from Apache to nginx.nginx – without any optimizations done – is much faster than Apache.But I want to get the maximum performance.I read about...

View Article


Connection processing methods - Nginx

If you compile nginx " --without-select_module --without-poll_module" and dont set the use directive "use epoll". Which connection processing method will nginx use?

View Article

Re: Connection processing methods - Nginx

Enable debug in your logging and read the logs.

View Article


Facebook Debugger gets Error 500 On Apache Rewritten URLs

I'm kind of dumbfounded with this one, probably because I'm a total noob when it comes to server management beyond the control panel (which, in this case, is VestaCP.)I use Google PageSpeed Service and...

View Article

Re: limit_req does not work

The limit_req happens at a later phase of query processing than the rewrite. So when you do the /test and /somesite the rewrite happens before limit. The URL the rewrite is targeting is not exactly '/'...

View Article

Re: limit_req does not work

Butlocation / {limit_req zone=myzone burst=3 nodelay;index lala.html;}matches any rewrite, right? Solocation ~ /dont-rate-limit {rewrite ^(.*)$ /no.txt;}will also be rate limited?I only want to rate...

View Article
Browsing all 972 articles
Browse latest View live


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