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

400 Bad Request

Hi, We are getting lot of 400 Bad Request errors on our site cjonline.com We increased large_client_header_buffers from 16K to 4 64k in nginx configuration and restarted the services. But we are still...

View Article


Re: Nginx 'alias' downloading php file

I, I get the same problem. How can I fix it?

View Article


nginx varnish

Hey everyone I tryed to install varnish before nginx after this nginx do not use right vhost, because tryed to run files from default folder. default vhost disabled.surely, ports on varnish backend and...

View Article

Re: nginx varnish

how to use nginx limit_conn behind proxy (varnish)? because now every connect from localhost, can I use somthing key for limit_conn_zone that get real ip client

View Article

Problems with nginx + router(Fritzbox) portforwarding

(Sorry for bad English, I'm German) Hello, I'm not sure if this forum is the right one to ask, but I struggle to setup a webserver with nginx: I installed nginx (and a few other programs) on my...

View Article


Re: Can nginx use SNI to reverse-proxy *without* terminating SSL?

Did you find a solution to this? I believe I have a similar setup.

View Article

Re: Can nginx use SNI to reverse-proxy *without* terminating SSL?

You can with stream {} See the docs at nginx

View Article

LoadBalancing with ip_hash, only hitting one backend server

Hello! Im trying to get a solid load balancing solution in place that can rotate servers and keep sessions per IP. I like NGINX's setup so I first came here to get this done but am having an issue with...

View Article


Re: LoadBalancing with ip_hash, only hitting one backend server

Hashing means in this case "ip ranges divided in blocks", so your LAN most likely is considered one block.

View Article


Re: LoadBalancing with ip_hash, only hitting one backend server

Gotcha -- that makes sense. When I tried to access it from a different subnet, everything worked. Thanks!

View Article

Nginx redirects .well-known endpoints

I have a web application that runs on `WSGI` server. The application has OpenID Connect identity provider endpoints, for instance: /oidc/.well-known/openid-configuration...

View Article

Request denying in a specific time range

Hi, I need to block requests that are made in a specific time range as long as it's not an exclusion like in the pseudo code below. I know that perl moduele is not allowed to be called inside "if"...

View Article

Request denying in a specific time range

Hi, I need to block requests that are made in a specific time range as long as it's not an exclusion like in the pseudo code below. I know that perl module is not allowed to be called inside "if" block...

View Article


Re: Problems with nginx + router(Fritzbox) portforwarding

i cannot explain why the routing does not working but you can work in your local network with your server do omething like this: Don´t work with the external IP adress, rather work with domain names....

View Article

Deny Access to php files wordpress / excluding one path

Hello Folks! I denied the direct access of php files ins my my site.conf (..../sites-enabled/mydomain.tld.conf) # Disable direct access of any *.php in /wp_content folder location ~...

View Article


Network Topology Assistance for newbie

Hi, Newbie here. I am looking to set up the MEAN Stack on Amazon & was curious as to whether best practice would be to have each component in its own subnet. ie App Server (Node) 10.0.10.x, Mongo...

View Article

Re: Request denying in a specific time range

It took a long time to reach the info below.. I think it could have documented better in official page of the module.. #nginx.conf set $variable_name "xxxx"; #perl my $value =...

View Article


nginx mod rewite issue

i'm trying to Convert Apache rewrite to nginx but mnay b due to some error i will fail please have a look Apache version DirectoryIndex index.php <Files ~ "^\.ht"> order allow,deny satisfy all...

View Article

How to allow NGINX one domain SSLDomain1\.info to use SSL whilst rest of the...

If I use Server{ FOR SSLDOMAIN.info } Server{ FOR REST} Then I can’t have both ssl and http ☹ It is one way or another, very annoying nginx, not flexible Nginx gives error no matter how I try Why can’t...

View Article

Re: Preserving Source IP using SSL Preread + OpenVPN

I am trying to accomplish a similar if not same task. I am running nginx 1.12.0 and am trying to maintain the source IP for logging purposes so that fail2ban can block the nefarious characters trying...

View Article
Browsing all 4759 articles
Browse latest View live


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