Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

fastcgi_request_bufferind fastcgi_buffering not working

setting the fastcgi_request_buffering and fastcgi_buffering to "off" in nginx.conf has no effect. Nginx still buffering the requests and responses. Need help on this.

View Article


Re: problem moving to nginx

hi again : just refining the problem a bit Nginx is serving the pdf's fine if they are in there in the folder <object data="foo.pdf" type="application/pdf" but refuses to do this <object...

View Article


Re: problem moving to nginx

There must be something in the nginx logs or php logs, sounds like a nginx root setting or php root/base setting.

View Article

Nginx error: worker process 12345 exited on signal 6 (core dumped)

I habe a problem with nginx. Sometimes, when a user visit my site, the connection are lost, and i don't know why!? The site runs with https:// provided by lets encrypt. I gues the problem comes from...

View Article

Nginx rewrite and prevent acces to original

How to prevent access to the original url rewrite ^/account /account.php last; I would like access to account.php return 404. Thanks

View Article


Duplicate request to another server

Hi. I need to duplicate all requests to my nginx to another server. I tried to use post_action for this, but in case of error (e.g. if the production server returns 404) nginx desn't process...

View Article

Re: problem moving to nginx

do i maby need some sort of "location" for that offsite content

View Article

Re: problem moving to nginx

Enable debug error logging and nginx will tell you exactly which request matches what location and what it returns from that.

View Article


nginx - php: No input file specified.

hey guys i added the following lines to my config location /mcv { rewrite ^(.*)$ /public/index.php?uri=$1 last; break; } now i keep getting the error 'No input file specified.' when in directory /mcv...

View Article


DNS Resolution: proxy_bind - transparent

Hello, I am completely new to NGINX and it's been years since I've dealt with Linux so please bear with me. What I am trying to accomplish: I am trying to setup NGINX to act as a loadbalancer to...

View Article

Nginx security best practices

Hey guys. I was told it was best to pose my question here. I currently have an node express app behind an nginx load balancer. I am curious to know what the nginx team recommends when it comes to...

View Article

502 Bad Gateway

Hello. Sometimes I get the "502 Bad Gateway" message. In general I know what this means, but I cannot track any issues down. I'll start with the setup. I'm using one root server with multiple...

View Article

Nginx proxy - Hide backend mailserver IP

Hi, I'm trying to create a proxy with Nginx (1.11.2) in a dedicated VPS to a remote client mail server with a DDNS ip (hmailserver). I have two network interfaces in this VPS and i want to use one just...

View Article


Nginx 'alias' downloading php file

I am struggling to get the Nginx alias working on my website. The php files is being downloaded instead of rendered. The URL in question is: /ticketsales/new-tickets upstream php-handler-http { server...

View Article

PHP Batch job run

Running NGINX 1.9.5 and php-fpm 5.5.14 - I have an php based application that has a batch job that is run from the web interface - it could take 2 hours to run. I keep running into the a upstream...

View Article


Issue with $fastcgi_param

Running Windows + Nginx 1.11.3.1 + PHP 5.6.10 I have a strange issue with $fastcgi_param probably this issue it depends on PHP, but i wanted some advice. when set Nginx with similar conf: location ~...

View Article

Re: Issue with $fastcgi_param

It looks like this is not (yet) supported, see https://www.google.nl/#q=fastcgi+param+php_value+open_basedir ea. https://github.com/facebook/hhvm/issues/3730

View Article


help with location directive

Hi there, I'm new to Nginx and I'm trying to add a location directive to my config file with a regular expression and it just won't work. I have a block that works to restrict my Wordpress URLs and a...

View Article

Dynamic upstream doesn't work with authorization header

Hi, I have a problem with a particular nginx setup. The scenario is like this: Applications need to access a couchdb service via a nginx proxy. The nginx needs to set an authorization header in order...

View Article

Re: help with location directive

shameless bump

View Article
Browsing all 4759 articles
Browse latest View live


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