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

list of all dynamic modules

I have see the 3rd party list of modules but I can't seem to find a place that has the cross reference to some of the compile switches I currently use. The --with-http_ssl_module is the one that seems...

View Article


How to limit connections per ip for every virtual host? My config is not working

I'm relative new to nginx, so maybe I'm missinterpreting the documentation. I have multiple websites served by nginx, each one in its own domain. I would like to apply a maximum number of connnections...

View Article


Modify locations header in reverse proxy

Hi I am testing Nginx as a reverse proxy to replace our aging TMG server and I have got most functions running. My issue is with one of our server. When browsing to http://external.com/temse the...

View Article

Re: reverso proxy to different root

You need to rewrite the request I think So you are accessing externalhost/transmission It is hitting backendtarget/transmission So try this: location /transmission { rewrite /transmission(.*) /$1 break;

View Article

Cookie Path issues

I am trying to figure out the best way to tackle the following issue: Cookies are used by many of the applications aggragated behind and NGINX reverse proxy. sample current config location ^~...

View Article


Issue with proxy_pass, request URI's, and upstream servers

Hi, I'm trying to set up NGinx to act as a load balancer to a few endpoints. For example, https://nlb.com/portal will forward requests to https://p1.com:7443/arcgis or https://p2.esri.com:7443/arcgis...

View Article

Re: Issue with proxy_pass, request URI's, and upstream servers

location /portal { proxy_pass http://conHTTP/portal; proxy_set_header X-Forwarded-Host nlb.com; } Or; location /portal { proxy_pass http://conHTTP; proxy_set_header X-Forwarded-Host nlb.com; }

View Article

WordPress Update/PHP Unexpected error

Hi all, I'm not really sure if this is the correct place but I'm having a bit of a strange issue with my Nginx server and updating Wordpress. I currently run and host a small nginx server to run my...

View Article


Resolver, AWS ELB and proxy_pass

Morning, I am confused about proxy_pass, AWS ELB and the resolver directive. Do I still need to use a variable and resolver in my proxy_pass, or can I simply add a resolver directive? All posts so far...

View Article


Re: Issue with proxy_pass, request URI's, and upstream servers

Thank you for the response. The problem is that "portal" doesn't exist no the backend servers. The request to http://nlb.com/portal goes to http://p1.com:7080/portal or http://p2.com:7443/portal, which...

View Article

variable limit_conn?

Hi, I need to throttle traffic based on where the client is connecting from. For example, if client is 10.0.0.1, I want to limit_conn to 1; if client is 10.1.0.2, I want limit_conn to 5, ... I have a...

View Article

Re: Issue with proxy_pass, request URI's, and upstream servers

Then you need to do some rewriting, ea. rewrite /portal/([^/]+) /arcgis/$1 break; proxy_pass ........

View Article

Re: Issue with proxy_pass, request URI's, and upstream servers

Hm, bear with me while I recap the behavior I see. So this is the new config: #user nobody; worker_processes 1; error_log logs/error.log; error_log logs/error.log notice; error_log logs/error.log info;...

View Article


Re: Issue with proxy_pass, request URI's, and upstream servers

Don't use proxy_redirect. Adjust proxypass / rewrite to make sure they point to folders that exist.

View Article

Re: Issue with proxy_pass, request URI's, and upstream servers

I guess my question is why does adding a rewrite rule send the request to the nginx machine instead of using the backend servers? The path exists on the backend servers.

View Article


Re: Issue with proxy_pass, request URI's, and upstream servers

It should not direct to nginx but change the request path and pass that on to the backend(s), in combination with 'root' being set accordingly.

View Article

Re: Issue with proxy_pass, request URI's, and upstream servers

That's what I would think! So a configuration like below seems it should work? upstream conHTTPS { server p1.com:7443; server p2.com:7443; } location /portal { rewrite /portal/([^/]+) /arcgis/$1 break;...

View Article


Re: Issue with proxy_pass, request URI's, and upstream servers

> "C:\nginx-1.9.15/html/arcgis/home/index.html" is not found Your 'root' is set wrong, obviously what you want returned doesn't live there.

View Article

Nginx proxy for wildcard domain

Hi all, Here my case: I have wildcard certificate for *.domain.com . What I want : - http requests to domain.com or *.domain.com are redirect to https - https requests to domain.com are passed to...

View Article

Re: Issue with proxy_pass, request URI's, and upstream servers

Hm, so I think I can make my question a bit clearer. The configuration below works: #upstream conHTTPS { # server p1.com:7443; # } location /portal { proxy_pass https://p1.com:7443/arcgis;...

View Article
Browsing all 4759 articles
Browse latest View live


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