I
I
Igozzzz2011-10-05 08:59:57
Nginx
Igozzzz, 2011-10-05 08:59:57

lighttpd as frontend

there are two servers, the
first one is debian with lighttpd as a frontend
, the second debian with apache has a site on bitrix
in the root package on it, the main site
is in a subdirectory, the second site

needs to be configured lighttpd so that it gets
1) place 10.10.10.10/ on xxx.ru
2) place htttp://10.10.10.10/eee/ on yyy.ru

1 solved it this way:

$HTTP[“host”] =~ “ www.xxx.ru ” {
proxy.server = ( "" => ( ( "host » => «10.10.10.10» ) ) )
}

to solve the second problem, I did
vhost on port 90 in apache, to this directory and redirected as in the first solution: a white screen appeared

or is it better to do it on nginx
if someone knows how to do it on nginx please write

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Zhivotnev, 2011-10-05
@inkvizitor68sl

This is best done with nginx. Taki light - brake.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question