Dynamic configuration

ryd994 ryd994 at 163.com
Mon Jun 15 04:07:44 UTC 2015


IMHO, it's too much to explain in a few lines.
Did you read http://nginx.org/en/docs/beginners_guide.html ? Then you might
want to read about rewrite module, fcgi and php, and configure your
application to output correct link or use subs module. If you know how to
use hosts file, use it with nginx virtual site will be a good idea for
testing.

If all you need is a working environment, asking a friend who knows nginx
to spend an hour for you will be much easier. Sorry I can't just "write a
config".

On Sun, Jun 14, 2015 at 7:21 AM Replace <nginx-forum at nginx.us> wrote:

> HI there, these days i reinstall my windows and ... i found hot water, with
> vagrant. I very like it those stuff, i installed ubuntu, with nginx,
> php5-fpm and many other stuff, but still missing basic configuration.
> In my project directory, i have many projects - symfony2, wordpress, my own
> framework, facebook app and simple test files. In my nginx configuration,
> those not work actually, becouse (i think) a root directory.
> I wanna every project can open in a separate sub directory (ex:
> /localhost/projects/wordpress1, or /localhost/development/symfony2/web/).
> Is
> it possible with nginx :S
> Can u give me some example configuration like those
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,259602,259602#msg-259602
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150615/78627577/attachment.html>


More information about the nginx mailing list