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

Nginx PHP-FPM understanding

Hi there, I'm new on this business and i'm setting a new server for a API that receive a lots of requests. I'm using Forge (from Laravel, but in this case i'm using Lumen) and i started to read and...

View Article


No matter what I do http URL turns into https URL

Hello Everyone, This may have been covered before, but I was unable to find it with Search. Anyway, I have set up a Nginx host to accept incoming connections for port 80 and https on port 443. This is...

View Article


How do I rewrite an incoming URL and then redirect?

Hello everyone. Is it possible with Nginx to first rewrite an incoming URL, and then redirect the rewritten URL? Example - Incoming URL: www.domain.com/directory/index.php?id=2&path=4 Want to...

View Article

Re: No matter what I do http URL turns into https URL

> even if I request http (not https) it automatically switches me to https. Can't get it to use http. > server { > listen 80; <<<=== > listen 443 ssl http2; > return 301...

View Article

The paths changed on new nginx jnstall.

I have Nginx software running on a laptop as a server, I was getting a few problems as it had been working for a good few years so I re-installed but some paths have changed on the new install example...

View Article


Help grabbing single option from upstream header.

Hello, new to the forum.... I have a header being sent from the upstream server that looks like this: x-authorization:Client="Web Client", Device="Chrome 47.0.2526.106",...

View Article

Re: Help grabbing single option from upstream header.

Actually that is a request header from the client.. Thanks.

View Article

How to fix 504 gateway timeout error?

Hello! After executing a great programm task in admin panel now its url shows 504 gateway timeout message. There is: 2016/01/11 13:28:14 [error] 7678#0: *1227364 upstream timed out (110: Connection...

View Article


Re: Help grabbing single option from upstream header.

not many users on the forums hu? No one?

View Article


Setting up IMAP proxy balancer and SSL offloading

Hi forum, I need to setting up a Nginx server according to this two statements: - IMAP proxy balancer. - SSL offloading. I have no problems with ssl offloading and proxy but it does not work when I add...

View Article

Re: Setting up IMAP proxy balancer and SSL offloading

Anything is possible, config? error logs?

View Article

Re: Setting up IMAP proxy balancer and SSL offloading

Nginx is installed on RH 6.5. This is my nginx.conf ----------------------------- user nginx; worker_processes 2; pid /var/run/nginx.pid; error_log /var/log/nginx/error.log; events { worker_connections...

View Article

Re: Setting up IMAP proxy balancer and SSL offloading

fran125 Wrote: ------------------------------------------------------- > error.log output. > > [emerg] 6028#0: "upstream" directive is not allowed here in > /etc/nginx/nginx.conf Easy to...

View Article


Re: Setting up IMAP proxy balancer and SSL offloading

itpp2012 Wrote: ------------------------------------------------------- > fran125 Wrote: > ------------------------------------------------------- > > error.log output. > > > >...

View Article

Re: Setting up IMAP proxy balancer and SSL offloading

Maybe this one https://tipstricks.itmatrix.eu/tcp-load-balancing-for-email-servers-with-nginx/

View Article


Bypass Web NTLM2 Authentication

Hi Guys Im trying to use NGINX as a reverse proxy and is working But it pop up a banner that ask me with the NTLM2 Authentication , and I dont need that pop up to apear there . A way of doing this is...

View Article

CORS multiple domains

I am hoping to get some guidance on sending Access-Control-Allow-Origin for multiple domains. The answer I have temporarily settled on is this: location /somelocation/ { try_files $uri $uri/ @rewrite;...

View Article


Deny if uri contains specific word

Hello. I need some help with configuring nginx to struggle HTTP flood attack. My web server recieves a lot of non existing URLs requests for a couple of days already. Some hundreds of thousands. I'm...

View Article

Re: Deny if uri contains specific word

Have a look at the simple WAF inside the latest archive here http://nginx-win.ecsds.eu/ look in the /conf folder. Works for any OS.

View Article

ngx_http_rewrite_module issue

Hi I insstalled nginx 1.7 using yum. Now want to implement rewrite rules. nginx -V commands show no ngx_http_rewrite_module is present. How can I enable ngx_http_rewrite_module. Please reply thanks

View Article
Browsing all 4759 articles
Browse latest View live