Improve install guide Nginx+SCL integration.
[arvados.git] / doc / install / install-workbench-app.html.textile.liquid
index c27e8c523b6862f0e53902e0d9426190395ee0df..5a60ca5484e49fe502617accf847988d9d815d81 100644 (file)
@@ -87,7 +87,7 @@ For best performance, we recommend you use Nginx as your Web server front-end, w
 <li>If you're deploying on an older Red Hat-based distribution and installed Pythyon 2.7 from Software Collections, configure Nginx to use it:
 
 <pre><code>~$ <span class="userinput">sudo usermod --shell /bin/bash nginx</span>
-~$ <span class="userinput">sudo -u nginx sh -c 'echo "[[ -z \$PS1 && -e /opt/rh/python27/enable ]] && source /opt/rh/python27/enable" >>~/.bash_profile'</span>
+~$ <span class="userinput">sudo -u nginx sh -c 'echo "[[ -z \$PS1 ]] && source scl_source enable python27" >>~/.bash_profile'</span>
 </code></pre>
 
 </li>