Multiple PHP sites need multiple listeners (original) (raw)
Valentin V. Bartenev vbart at nginx.com
Wed Jun 20 20:16:57 UTC 2018
- Previous message (by thread): Multiple PHP sites need multiple listeners / applications?
- Next message (by thread): Too many redirects error with Unit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wednesday, 20 June 2018 21:57:03 MSK Danny Horne via unit wrote:
Hi,
I'm just starting out with Nginx Unit and have had limited success so far. I run multiple sites, all as subdirectories under '/var/www' and all running PHP. Do I need a separate listener and application for each site (even though they're all running PHP)? Thanks for looking
Since there are no routing feature implemented yet, so yes, currently you have to configure each site as a separate application.
Request routing based on Host, URI, and any other request parameters is planned for this year.
wbr, Valentin V. Bartenev
- Previous message (by thread): Multiple PHP sites need multiple listeners / applications?
- Next message (by thread): Too many redirects error with Unit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]