again, can't find solution to this.by Ancient - How to...
Hello, after upgrade Nginx 1.0.15 to 1.2.2 I m dealing with a problem or redirects loop. My setup is nginx + apache, and wordpress based websites. website that uses php-fpm instead of apache was working fine. I found similar discussion in the internet without solution http://serverfault.com/questions/386328/nginx-1-2-causes-redirect-loop-with-wordpress-and-apache my website config:by Ancient - How to...
We have been running it on production server for a week now without problems. Server load decreased by ~30%.by Ancient - Migration from Other Servers
ink08 Wrote: ------------------------------------------------------- > если нужно просто перед > апачем поставить nginx, то тут > проще сделать так: > server { > listen 80; > server_name _; > proxy_buffering on; > > location / { > proxy_pass http://127.0.0.1:88; > proxy_set_headeby Ancient - Russian Forum
mkc Wrote: ------------------------------------------------------- > upstream domain.ru { > server 127.0.0.1:8000; > } > server { > listen x.x.x.x:80; > server_name "~^(\w\d{1,3}+)\.domain.ru$"; 1,3 > меняем по вкусу > access_log /home/mkc-net.ru/log/$1.access.log > main; > location / { > proxy_pass http://domain.ru/$1;by Ancient - Russian Forum
if ($host ~* ^([^.]+)\.facebook\.rc\.77test\.co\.uk$) { set $auto_subdomain $1; } root /srv/www/vhosts/facebook.rc.77test.co.uk/$auto_subdomain/; вот так похоже работает, интересно будет ли это влиять на скорость работы если будет больше чем скажем 100 под-папок ?by Ancient - Russian Forum
if ($host ~* ^([^.]+)\.facebook\.rc\.77test\.co\.uk$) { set $auto_subdomain $1; } root /srv/www/vhosts/facebook.rc.77test.co.uk/$auto_subdomain/; this seems to be working properly, can someone advice is it fine in terms of performance, if I ll have more than 100 subfolders. thanks.by Ancient - Migration from Other Servers
Hello, copying my post in russian here as well. I spend a lot of time trying to configure following scenario - *.domain.com should take files from /srv/www/vhosts/domain.com/*/ also PHP files should be handled by apache with same scenario. So currently it works super fine on pure apache with following rewrite rule RewriteEngine On RewriteCond %{HTTP_HOST} ^([^\.]+)\.domain\.com Rby Ancient - Migration from Other Servers
Добрый день, провёл пол дня пытаясь настроить следущую схему. *.domain.com должно брать файлы из /srv/www/vhosts/domain.com/*/ при этом php должен обрабатывать apache по той же схеме. Т.е. сейчас всё работает на чистом апаче с одним простыby Ancient - Russian Forum