Where I am going with this is - I want to write error & access - logs out
with the '-MM-DD-HH' suffix. So i need these variables.
The 'if' statement is not allowed outside the server{} - I am at a loss due
to this. Please con you show me some examples of how to set these variables
with a ma
Igor Sysoev Wrote:
---
> You can try other path:
>
> map $ngxvar1 $myvar1 {
>default $myvar2;
>~*string 1;
> }
>
>
> map $ngxvar2 $myvar2 {
>default 0;
>~*string 1;
> }
tnx Igor, this works to:
map $ngxvar1 $myvar1 {
d
On Thu, Oct 23, 2014 at 02:00:44AM -0400, newnovice wrote:
Hi there,
> can a map + regex be used to generate variables for -MM-DD-HH? I cant
> use 'if' in the location i am trying this.
One map sets one variable.
Can you use your "if" outside all locations?
f
--
Francis Daly
On 23 Oct 2014, at 21:17, itpp2012 wrote:
> Can I use multiple maps with a single map ?
>
> For example;
>
> map $ngxvar1 $myvar1 {
> default 0;
> ~*string 1;
> }
> map $ngxvar2 $myvar2 {
> default 0;
> ~*string 1;
> }
> map $ngxvar3 $myvar3 {
> default 0;
> ~*string 1;
> $myvar1 1;
> $myvar2 1
Can I use multiple maps with a single map ?
For example;
map $ngxvar1 $myvar1 {
default 0;
~*string 1;
}
map $ngxvar2 $myvar2 {
default 0;
~*string 1;
}
map $ngxvar3 $myvar3 {
default 0;
~*string 1;
$myvar1 1;
$myvar2 1;
}
This way I would only have one IF $myvar3 ., but obviously this examp
I use a subdomain for uploads and i am curious if anyone knows the best way
to only allow access to only the upload url and block / deny everything
else.
location / {
deny all;
}
location ~ \.php$ {
deny all;
if ( $args ~
'option=com_hwdmediashare&task=addmedia.upload([a-zA-Z0-9-_=&])' ) {
fastcg
Hi Falko
On 23/10/14 12:26, Falko Koenig wrote:
> Thank you for your help. These options we have already tried. We had the
> same problem using a socket and increasing the option
> net.ipv4.ip_local_port_range didn't help. In the setup we're already
> using loadbalancer to balance the traffic on d
nice! http://mozilla.github.io/server-side-tls/ssl-config-generator/
did not tested all profiles, but intermediates gives A+ on ssllabs,
supports every browser expect winxp/ie6
and has all the goodies enabled
$ ./testssl.sh example.com
#
Hi Dominic,
> On 23/10/14 10:32, Dominic wrote:
>
> Dear Falko
>
> My random guess.
>
> Linux has a maximum of open connections.
> You can get the number by the following command:
>
> sysctl net.ipv4.ip_local_port_range
> > net.ipv4.ip_local_port_range = 3276861000
>
> The default on my host a
Dear Falko
On 23/10/14 09:06, Falko Koenig wrote:
> Hello,
>
> we are using nginx as imap and pop3 proxy with a ldap database querying
> the correct destination server for the user. LDAP Requests are realized
> by a perl script for using different LDAP servers. We have noticed that
> nginx has te
Hi Raul,
> I don't know what cookie is, the site is http://urbania.pe
>
if you dont know the cookie-name you cannot reset them from nginx,
but i see quite a few in my developer-tools.
i'd suggest you create a location that match this false redirect-location
and reset the cookies from within th
Hello,
we are using nginx as imap and pop3 proxy with a ldap database querying
the correct destination server for the user. LDAP Requests are realized
by a perl script for using different LDAP servers. We have noticed that
nginx has temporarily timeouts querying the LDAP server. The timeouts
occur
12 matches
Mail list logo