Re: multiple subdomains

2015-09-17 Thread Francis Daly
On Thu, Sep 17, 2015 at 09:50:21AM -0400, pwe wrote: Hi there, I think I may have missed some words in your mail; but if you are talking about how to proxy_pass to different internal web servers... > I want to realize the following: > > mail.domain1.com --> mail.domain1.com > mail.domain2.com -

Re: Memory usage for the ngx_http_limit_req_module module

2015-09-17 Thread Francis Daly
On Thu, Sep 17, 2015 at 12:19:31PM -0400, slowhand84 wrote: Hi there, >I'm using the "nxg_http_limit_req" module to limit the service usage. > I've a questions about the "limit_req_zone" directive: how can I set the > correct size for the zone? > In docs I see that "One megabyte zone can keep

Memory usage for the ngx_http_limit_req_module module

2015-09-17 Thread slowhand84
Hello, I'm using the "nxg_http_limit_req" module to limit the service usage. I've a questions about the "limit_req_zone" directive: how can I set the correct size for the zone? In docs I see that "One megabyte zone can keep about 16 thousand 64-byte states", how can I know how much memory is nec

multiple subdomains

2015-09-17 Thread pwe
Hello, I want to realize the following: mail.domain1.com --> mail.domain1.com mail.domain2.com --> mail.domain2.com mail.domain3.com --> mail.domain3.com mail.domain4.com --> mail.domain4.com mail.domain5.com --> mail.domain5.com It has to be like this, because there is another nginx integrated

Re: NGINX + Spark Web UI

2015-09-17 Thread B.R.
Have a look at the docs: http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass --- *B. R.* On Thu, Sep 17, 2015 at 12:05 PM, mjordan79 wrote: > Hello! > I'm trying to set up a reverse proxy (using nginx) for the Spark Web UI. > I have 2 machines: >1) Machine A, with a public IP

NGINX + Spark Web UI

2015-09-17 Thread mjordan79
Hello! I'm trying to set up a reverse proxy (using nginx) for the Spark Web UI. I have 2 machines: 1) Machine A, with a public IP. This machine will be used to access Spark Web UI on the Machine B through its private IP address. 2) Machine B, where Spark is installed (standalone master cluste