Hi Ali, Have a look at the reference conf file from the source here: https://github.com/php/php-src/blob/master/sapi/fpm/php-fpm.conf.in I believe %R will work for you, although from memory you need to set up the correct fastcgi parameter to get the correct IP through to php. On Wednesday, 12 June 2013 19:37:43 UTC+10, Ali Trix wrote: > > Hi, > > Is it possible to make a custom loby ohm - Php-fpm Mailing List - English
+1 - thanks Maciej - very helpful On Saturday, 24 March 2012 02:39:18 UTC+11, juangiordana wrote: > > Thanks a lot Maciej for sharing all this information and insights. > Great resource for sure. > > On Fri, Mar 23, 2012 at 11:34 AM, Maciej Lisiewski > <maciej...> wrote: > > Static, best for: single pool running single app/group of apps. > > Dynamic, best for:by ohm - Php-fpm Mailing List - English
@Ancient - your approach worked for me. I am also wondering if there is any performance issue with this. I know explicit location blocks for each subdomain is the best performance, but for practical reasons the above config is very useful. Any issues with it?by ohm - Migration from Other Servers