I have 1 real IP and many websites. Initial idea was to separate each website into it's own exclusive-ip (vnic) non-global zone. MySQL server have it's own non-global zone. Question is: what is the best way to setup nginx reverse proxy to handle all incoming traffic, pass is over to proper zoned backend and serve static content for every website? Few really tricky solutions comes into my mind: 1) install nginx in global zone and have nginx visibility to every zones. AFAIK it is bad idea to have inet daemons running in global zone 2) install nginx in non-global shared ip zone and lofs mount document roots from each non-global zone into nginx zone. No sure how good this solution as well 3) install nginx in every non-global zone to serve static/pass to backend and have separate non-global shared ip zone with nginx to handle all incoming traffic and then pass to appropriate nginx in another zone? Too complicated
Any ideas on what is the Solaris way to do that?