Questions tagged as 'nginx'

1
answer

What are the advantages and disadvantages between Apache and nginx?

I see a lot of people recommending nginx on Apache [HTTP Server], and I can well understand why the first event-driven it brings scalability advantages (ie low memory consumption under load heavy) over the process-based approach of the secon...
asked by 10.07.2014 / 18:01
1
answer

Are all HTTP methods / verbs accepted by APACHE and NGINX?

In a recent lecture, one of the speakers commented that the only methods that the APACHE and the NGINX accept / support are the methods / verbs GET and POST . The speaker further clarifies that when other methods such as PUT...
asked by 04.07.2017 / 20:41
2
answers

How to make Nginx provide prepackaged content?

I've already enabled the HttpGzipStaticModule module and set the gzip_static on; But in response headers of a GET request does not appear Content-Encoding gzip     
asked by 12.12.2013 / 03:44
1
answer

Sending files in Nginx error "413 Request Entity Too Large"

I'm trying to send a file of 2MB using Nginx, but I keep getting 413 arquivo muito grande . Version: Nginx / 1.4.6 OS: Ubuntu 14.04 LTS     
asked by 24.11.2014 / 14:53
2
answers

How to increase the size of the GET request to place parameters larger than 10KB in NGINX and PHP?

I need to make a very large GET request with NGINX and PHP. Is there any configuration in NGINX or PHP that solves this?     
asked by 25.02.2014 / 16:01
1
answer

How to get the correct HTTP status?

I tried to get the error "status" like this: error_page 403 /error.php; error_page 404 /error.php; But $_SERVER['REDIRECT_STATUS'] return 200 , already in Apache it returns 404 (the expected result). How can I define...
asked by 04.05.2015 / 04:06
1
answer

https redirect problem

I have a rather bizarre problem here. We have two sites on the same server running with Nginx ; one has HTTPS certificate and the other does not. The problem is that if a client enters the site without the certificate and places the HTTP...
asked by 07.03.2014 / 15:05
4
answers

Node replaces Nginx? Does anyone explain this architecture to me?

I was reading a article about the "dawn" of JavaScript companies. The "dawn" in the sense that things are only beginning. That is, according to the author, the future is JavaScript with NodeJS, and companies will sooner or later have to replac...
asked by 09.09.2016 / 04:07
1
answer

What is the maximum limit of PHP / MySQL / Nginx in a request before giving error 504 Gateway Time-out

And if possible how can I extend this time for large queries / requests?     
asked by 13.05.2015 / 17:38
2
answers

nginx does not display index php

So guys, I think it's some configuration on the server that is not displaying the error page, I am running a docker-compose that "uploads" a container php, mysql, and nginx , however, when accessing localhost I get the following error:...
asked by 01.11.2017 / 03:59