From 0c4fcc087f4367fd87bebe612684546857664015 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Thu, 22 Jan 2015 23:43:28 +0100 Subject: [PATCH] Generate Pelican site --- feeds/all.atom.xml | 7 ++++--- feeds/misc.atom.xml | 7 ++++--- proxies-with-apache-and-python.html | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/feeds/all.atom.xml b/feeds/all.atom.xml index 6516cfb..a455729 100644 --- a/feeds/all.atom.xml +++ b/feeds/all.atom.xml @@ -117,9 +117,10 @@ a WSGI application with the name <em>application</em>. Hence, wsgi:a </pre></div> </td></tr></table><p><strong>Important</strong>: <em>SCRIPT_NAME</em> and the end of <em>ProxyPass</em> URL <strong>MUST BE THE SAME</strong>. Otherwise, Gunicorn will fail miserably.</p> -<p>Try it with: -<tt class="docutils literal">bash venv/bin/gunicorn <span class="pre">-w</span> 4 <span class="pre">-b</span> 127.0.0.1:8888 <span class="pre">--log-file</span> - <span class="pre">--access-logfile</span> - wsgi:application</tt></p> -</div> +<p>Try it with:</p> +<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1</pre></div></td><td class="code"><div class="highlight"><pre>venv/bin/gunicorn -w <span class="m">4</span> -b 127.0.0.1:8888 --log-file - --access-logfile - wsgi:application<span class="sb">``</span> +</pre></div> +</td></tr></table></div> <div class="section" id="uwsgi"> <h2>UWSGI</h2> <p>This is a very simple configuration. I will try to upload one with more diff --git a/feeds/misc.atom.xml b/feeds/misc.atom.xml index b54d072..427ce66 100644 --- a/feeds/misc.atom.xml +++ b/feeds/misc.atom.xml @@ -117,9 +117,10 @@ a WSGI application with the name <em>application</em>. Hence, wsgi:a </pre></div> </td></tr></table><p><strong>Important</strong>: <em>SCRIPT_NAME</em> and the end of <em>ProxyPass</em> URL <strong>MUST BE THE SAME</strong>. Otherwise, Gunicorn will fail miserably.</p> -<p>Try it with: -<tt class="docutils literal">bash venv/bin/gunicorn <span class="pre">-w</span> 4 <span class="pre">-b</span> 127.0.0.1:8888 <span class="pre">--log-file</span> - <span class="pre">--access-logfile</span> - wsgi:application</tt></p> -</div> +<p>Try it with:</p> +<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1</pre></div></td><td class="code"><div class="highlight"><pre>venv/bin/gunicorn -w <span class="m">4</span> -b 127.0.0.1:8888 --log-file - --access-logfile - wsgi:application<span class="sb">``</span> +</pre></div> +</td></tr></table></div> <div class="section" id="uwsgi"> <h2>UWSGI</h2> <p>This is a very simple configuration. I will try to upload one with more diff --git a/proxies-with-apache-and-python.html b/proxies-with-apache-and-python.html index 7dad469..7f771de 100644 --- a/proxies-with-apache-and-python.html +++ b/proxies-with-apache-and-python.html @@ -141,9 +141,10 @@ a WSGI application with the name application. Hence, wsgi:application.<

Important: SCRIPT_NAME and the end of ProxyPass URL MUST BE THE SAME. Otherwise, Gunicorn will fail miserably.

-

Try it with: -bash venv/bin/gunicorn -w 4 -b 127.0.0.1:8888 --log-file - --access-logfile - wsgi:application

- +

Try it with:

+
1
venv/bin/gunicorn -w 4 -b 127.0.0.1:8888 --log-file - --access-logfile - wsgi:application``
+
+

UWSGI

This is a very simple configuration. I will try to upload one with more