Welcome! Log In Create A New Profile

Advanced

Re: Performance penalty when using regular expressions in server_name?

January 29, 2014 03:15PM
A different way would to use Lua and an alias table, for a dynamic site I use this to allow a site multiple aliases all directing to the same root, its a simple array with 2 lines for each main site, 1 as server_name and line 2 endless aliases. Its fast and no need to edit nginx.conf just edit a plain ascii file.
Subject Author Posted

Performance penalty when using regular expressions in server_name?

Igor Sverkos January 29, 2014 02:54PM

Re: Performance penalty when using regular expressions in server_name?

itpp2012 January 29, 2014 03:15PM

Re: Performance penalty when using regular expressions in server_name?

Igor Sysoev January 30, 2014 01:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 244
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready