Hi Heiko,
Thank you for your response.
I have tried removing the "real_ip_header" and "real_ip_recursive"
directives from the nginx config as you suggested but nothing changed. I
have also tried enabling and disabling the "proxy => 1" directive from the
hypnotoad config which also had no
No, you can't do that, it's incompatible with zero downtime software
upgrades.
--
sebastian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
I'm writing a script which will manage ports of my mojo apps.
E.g. I want to manage server.pl app:
my $hypnotoad = Mojo::Server::Hypnotoad->new;
$hypnotoad->configure('server.conf');
$hypnotoad->run('server.pl');
If I need to specify port other than 8080 - I need to setup it in
*server.conf*
As far as I understand it, this is what happens:
Step 1:
http://nginx.org/en/docs/http/ngx_http_realip_module.html#real_ip_header =>
"Defines the request header field whose value will be used to replace the
client address."
So in your config you tell nginx to treat the value of the header "
Did not try to verify this, but if I understand your example config
correctly it may be related to the way nginx processes "location"
directives.
To quote http://nginx.org/en/docs/http/request_processing.html
nginx first searches for the most specific prefix location given by literal
> strings