This solution works only for static files. PHP script is forbided for
deny hosts, allow hosts get source of confirm_register.php file.
Adding sublocation for passing php files solve my problem.
I’m having a really hard time getting SSL working with any sort of
speed. I’ve put together the most basic(esentially the example
config) test configuration I think is possible, but the initial
negotiation delay is horribly long. Is anyone out there using Nginx
on Debian with SSL?
I’ve got a situation where the port being served to the outside world
and the proxy port may not be the same. e.g. firewall:9000 => nginx:
8080 => realserver:8000
Where $host:$port turns into firewall:9000 for the above example.
I’ve found variables for both the nginx port and the realserver port,
but can’t find anything for the port the client sent the request to.
On Tue, Jan 22, 2008 at 07:22:47PM -0600, Casey Rayman wrote:
Where $host:$port turns into firewall:9000 for the above example.
I’ve found variables for both the nginx port and the realserver port,
but can’t find anything for the port the client sent the request to.
There is no way to learn firewall’s IP address and port on nginx side at
all.