0 Members and 1 Guest are viewing this topic.
location ~ \.php$ { #include fastcgi_params; #fastcgi_pass 127.0.0.1:$var_fpmport; fastcgi_pass unix:/opt/configs/php-fpm/sock/$var_user.sock; fastcgi_index index.php;
upstream loadbal01 { server domain1.com:80; // or their IP server domain2.com:80; // or their IP } location ~ \.php$ { #include fastcgi_params; fastcgi_pass http://loadbal01; #fastcgi_pass unix:/opt/configs/php-fpm/sock/$var_user.sock; fastcgi_index index.php;
Page created in 0.071 seconds with 18 queries.