July 15, 2015 07:45AM
Valentin V. Bartenev Wrote:
-------------------------------------------------------
> On Tuesday 14 July 2015 21:46:58 justink101 wrote:
> > According to the documentation getting the value of $server_addr to
> set a
> > response header makes a system call, and can impact performance
> > negativelyset $ip $server_addr;

> No, it wouldn't. The "set" directive also is executed on every
> request.

Via map as well ? (geo would suffer as well then)

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

Storing $server_addr in a variable VS using it directly in location block

justink101 July 14, 2015 09:46PM

Re: Storing $server_addr in a variable VS using it directly in location block

Valentin V. Bartenev July 15, 2015 07:10AM

Re: Storing $server_addr in a variable VS using it directly in location block

itpp2012 July 15, 2015 07:45AM

Re: Storing $server_addr in a variable VS using it directly in location block

Valentin V. Bartenev July 15, 2015 08:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 206
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready