Skip to content

Commit

Permalink
Update site
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjb committed Apr 11, 2013
1 parent 73b5716 commit 4680751
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ <h1 class="entry-title">
the other hand operates slightly differently - so in order to have the
parameters automatically modified, you pass the value <tt class="docutils literal">30</tt> as <tt class="docutils literal">modifier1</tt>
to uWSGI like&nbsp;so:</p>
<pre class="literal-block">
location /myapp {
include uwsgi_params;
uwsgi_pass unix:/opt/myapp.sock;
uwsgi_param SCRIPT_NAME /myapp;
uwsgi_modifier1 30;
}
<pre class="code nginx literal-block">
<span class="k">location</span> <span class="s">/myapp</span> <span class="p">{</span>
<span class="kn">include</span> <span class="s">uwsgi_params</span><span class="p">;</span>
<span class="kn">uwsgi_pass</span> <span class="s">unix:/opt/myapp.sock</span><span class="p">;</span>
<span class="kn">uwsgi_param</span> <span class="s">SCRIPT_NAME</span> <span class="s">/myapp</span><span class="p">;</span>
<span class="kn">uwsgi_modifier1</span> <span class="mi">30</span><span class="p">;</span>
<span class="p">}</span>
</pre>
<p>(<a class="reference external" href="http://pygments.org/docs/lexers/">Pygments</a> has an Ngnix lexer, who&nbsp;knew?)</p>
<p>From the documentation
<a class="reference external" href="http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps">http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps</a>:</p>
<blockquote>
Expand Down
15 changes: 8 additions & 7 deletions category/web.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ <h1 class="entry-title"><a href="http://davidjb.com/blog/2013/04/serving-uwsgi-a
the other hand operates slightly differently - so in order to have the
parameters automatically modified, you pass the value <tt class="docutils literal">30</tt> as <tt class="docutils literal">modifier1</tt>
to uWSGI like&nbsp;so:</p>
<pre class="literal-block">
location /myapp {
include uwsgi_params;
uwsgi_pass unix:/opt/myapp.sock;
uwsgi_param SCRIPT_NAME /myapp;
uwsgi_modifier1 30;
}
<pre class="code nginx literal-block">
<span class="k">location</span> <span class="s">/myapp</span> <span class="p">{</span>
<span class="kn">include</span> <span class="s">uwsgi_params</span><span class="p">;</span>
<span class="kn">uwsgi_pass</span> <span class="s">unix:/opt/myapp.sock</span><span class="p">;</span>
<span class="kn">uwsgi_param</span> <span class="s">SCRIPT_NAME</span> <span class="s">/myapp</span><span class="p">;</span>
<span class="kn">uwsgi_modifier1</span> <span class="mi">30</span><span class="p">;</span>
<span class="p">}</span>
</pre>
<p>(<a class="reference external" href="http://pygments.org/docs/lexers/">Pygments</a> has an Ngnix lexer, who&nbsp;knew?)</p>
<p>From the documentation
<a class="reference external" href="http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps">http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps</a>:</p>
<blockquote>
Expand Down
15 changes: 8 additions & 7 deletions feeds/all-en.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ the same thing that I configure Nginx to do explicitly. Anyway, Nginx on
the other hand operates slightly differently - so in order to have the
parameters automatically modified, you pass the value &lt;tt class="docutils literal"&gt;30&lt;/tt&gt; as &lt;tt class="docutils literal"&gt;modifier1&lt;/tt&gt;
to uWSGI like&amp;nbsp;so:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
location /myapp {
include uwsgi_params;
uwsgi_pass unix:/opt/myapp.sock;
uwsgi_param SCRIPT_NAME /myapp;
uwsgi_modifier1 30;
}
&lt;pre class="code nginx literal-block"&gt;
&lt;span class="k"&gt;location&lt;/span&gt; &lt;span class="s"&gt;/myapp&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="kn"&gt;include&lt;/span&gt; &lt;span class="s"&gt;uwsgi_params&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;uwsgi_pass&lt;/span&gt; &lt;span class="s"&gt;unix:/opt/myapp.sock&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;uwsgi_param&lt;/span&gt; &lt;span class="s"&gt;SCRIPT_NAME&lt;/span&gt; &lt;span class="s"&gt;/myapp&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;uwsgi_modifier1&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;p&gt;(&lt;a class="reference external" href="http://pygments.org/docs/lexers/"&gt;Pygments&lt;/a&gt; has an Ngnix lexer, who&amp;nbsp;knew?)&lt;/p&gt;
&lt;p&gt;From the documentation
&lt;a class="reference external" href="http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps"&gt;http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
Expand Down
15 changes: 8 additions & 7 deletions feeds/all.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ the same thing that I configure Nginx to do explicitly. Anyway, Nginx on
the other hand operates slightly differently - so in order to have the
parameters automatically modified, you pass the value &lt;tt class="docutils literal"&gt;30&lt;/tt&gt; as &lt;tt class="docutils literal"&gt;modifier1&lt;/tt&gt;
to uWSGI like&amp;nbsp;so:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
location /myapp {
include uwsgi_params;
uwsgi_pass unix:/opt/myapp.sock;
uwsgi_param SCRIPT_NAME /myapp;
uwsgi_modifier1 30;
}
&lt;pre class="code nginx literal-block"&gt;
&lt;span class="k"&gt;location&lt;/span&gt; &lt;span class="s"&gt;/myapp&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="kn"&gt;include&lt;/span&gt; &lt;span class="s"&gt;uwsgi_params&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;uwsgi_pass&lt;/span&gt; &lt;span class="s"&gt;unix:/opt/myapp.sock&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;uwsgi_param&lt;/span&gt; &lt;span class="s"&gt;SCRIPT_NAME&lt;/span&gt; &lt;span class="s"&gt;/myapp&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;uwsgi_modifier1&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;p&gt;(&lt;a class="reference external" href="http://pygments.org/docs/lexers/"&gt;Pygments&lt;/a&gt; has an Ngnix lexer, who&amp;nbsp;knew?)&lt;/p&gt;
&lt;p&gt;From the documentation
&lt;a class="reference external" href="http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps"&gt;http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
Expand Down
15 changes: 8 additions & 7 deletions feeds/web.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ the same thing that I configure Nginx to do explicitly. Anyway, Nginx on
the other hand operates slightly differently - so in order to have the
parameters automatically modified, you pass the value &lt;tt class="docutils literal"&gt;30&lt;/tt&gt; as &lt;tt class="docutils literal"&gt;modifier1&lt;/tt&gt;
to uWSGI like&amp;nbsp;so:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
location /myapp {
include uwsgi_params;
uwsgi_pass unix:/opt/myapp.sock;
uwsgi_param SCRIPT_NAME /myapp;
uwsgi_modifier1 30;
}
&lt;pre class="code nginx literal-block"&gt;
&lt;span class="k"&gt;location&lt;/span&gt; &lt;span class="s"&gt;/myapp&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="kn"&gt;include&lt;/span&gt; &lt;span class="s"&gt;uwsgi_params&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;uwsgi_pass&lt;/span&gt; &lt;span class="s"&gt;unix:/opt/myapp.sock&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;uwsgi_param&lt;/span&gt; &lt;span class="s"&gt;SCRIPT_NAME&lt;/span&gt; &lt;span class="s"&gt;/myapp&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;uwsgi_modifier1&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;p&gt;(&lt;a class="reference external" href="http://pygments.org/docs/lexers/"&gt;Pygments&lt;/a&gt; has an Ngnix lexer, who&amp;nbsp;knew?)&lt;/p&gt;
&lt;p&gt;From the documentation
&lt;a class="reference external" href="http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps"&gt;http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
Expand Down
15 changes: 8 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ <h1 class="entry-title"><a href="http://davidjb.com/blog/2013/04/serving-uwsgi-a
the other hand operates slightly differently - so in order to have the
parameters automatically modified, you pass the value <tt class="docutils literal">30</tt> as <tt class="docutils literal">modifier1</tt>
to uWSGI like&nbsp;so:</p>
<pre class="literal-block">
location /myapp {
include uwsgi_params;
uwsgi_pass unix:/opt/myapp.sock;
uwsgi_param SCRIPT_NAME /myapp;
uwsgi_modifier1 30;
}
<pre class="code nginx literal-block">
<span class="k">location</span> <span class="s">/myapp</span> <span class="p">{</span>
<span class="kn">include</span> <span class="s">uwsgi_params</span><span class="p">;</span>
<span class="kn">uwsgi_pass</span> <span class="s">unix:/opt/myapp.sock</span><span class="p">;</span>
<span class="kn">uwsgi_param</span> <span class="s">SCRIPT_NAME</span> <span class="s">/myapp</span><span class="p">;</span>
<span class="kn">uwsgi_modifier1</span> <span class="mi">30</span><span class="p">;</span>
<span class="p">}</span>
</pre>
<p>(<a class="reference external" href="http://pygments.org/docs/lexers/">Pygments</a> has an Ngnix lexer, who&nbsp;knew?)</p>
<p>From the documentation
<a class="reference external" href="http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps">http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps</a>:</p>
<blockquote>
Expand Down
15 changes: 8 additions & 7 deletions tag/nginx.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ <h1 class="entry-title"><a href="http://davidjb.com/blog/2013/04/serving-uwsgi-a
the other hand operates slightly differently - so in order to have the
parameters automatically modified, you pass the value <tt class="docutils literal">30</tt> as <tt class="docutils literal">modifier1</tt>
to uWSGI like&nbsp;so:</p>
<pre class="literal-block">
location /myapp {
include uwsgi_params;
uwsgi_pass unix:/opt/myapp.sock;
uwsgi_param SCRIPT_NAME /myapp;
uwsgi_modifier1 30;
}
<pre class="code nginx literal-block">
<span class="k">location</span> <span class="s">/myapp</span> <span class="p">{</span>
<span class="kn">include</span> <span class="s">uwsgi_params</span><span class="p">;</span>
<span class="kn">uwsgi_pass</span> <span class="s">unix:/opt/myapp.sock</span><span class="p">;</span>
<span class="kn">uwsgi_param</span> <span class="s">SCRIPT_NAME</span> <span class="s">/myapp</span><span class="p">;</span>
<span class="kn">uwsgi_modifier1</span> <span class="mi">30</span><span class="p">;</span>
<span class="p">}</span>
</pre>
<p>(<a class="reference external" href="http://pygments.org/docs/lexers/">Pygments</a> has an Ngnix lexer, who&nbsp;knew?)</p>
<p>From the documentation
<a class="reference external" href="http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps">http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps</a>:</p>
<blockquote>
Expand Down
15 changes: 8 additions & 7 deletions tag/uwsgi.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ <h1 class="entry-title"><a href="http://davidjb.com/blog/2013/04/serving-uwsgi-a
the other hand operates slightly differently - so in order to have the
parameters automatically modified, you pass the value <tt class="docutils literal">30</tt> as <tt class="docutils literal">modifier1</tt>
to uWSGI like&nbsp;so:</p>
<pre class="literal-block">
location /myapp {
include uwsgi_params;
uwsgi_pass unix:/opt/myapp.sock;
uwsgi_param SCRIPT_NAME /myapp;
uwsgi_modifier1 30;
}
<pre class="code nginx literal-block">
<span class="k">location</span> <span class="s">/myapp</span> <span class="p">{</span>
<span class="kn">include</span> <span class="s">uwsgi_params</span><span class="p">;</span>
<span class="kn">uwsgi_pass</span> <span class="s">unix:/opt/myapp.sock</span><span class="p">;</span>
<span class="kn">uwsgi_param</span> <span class="s">SCRIPT_NAME</span> <span class="s">/myapp</span><span class="p">;</span>
<span class="kn">uwsgi_modifier1</span> <span class="mi">30</span><span class="p">;</span>
<span class="p">}</span>
</pre>
<p>(<a class="reference external" href="http://pygments.org/docs/lexers/">Pygments</a> has an Ngnix lexer, who&nbsp;knew?)</p>
<p>From the documentation
<a class="reference external" href="http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps">http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps</a>:</p>
<blockquote>
Expand Down
15 changes: 8 additions & 7 deletions tag/web.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ <h1 class="entry-title"><a href="http://davidjb.com/blog/2013/04/serving-uwsgi-a
the other hand operates slightly differently - so in order to have the
parameters automatically modified, you pass the value <tt class="docutils literal">30</tt> as <tt class="docutils literal">modifier1</tt>
to uWSGI like&nbsp;so:</p>
<pre class="literal-block">
location /myapp {
include uwsgi_params;
uwsgi_pass unix:/opt/myapp.sock;
uwsgi_param SCRIPT_NAME /myapp;
uwsgi_modifier1 30;
}
<pre class="code nginx literal-block">
<span class="k">location</span> <span class="s">/myapp</span> <span class="p">{</span>
<span class="kn">include</span> <span class="s">uwsgi_params</span><span class="p">;</span>
<span class="kn">uwsgi_pass</span> <span class="s">unix:/opt/myapp.sock</span><span class="p">;</span>
<span class="kn">uwsgi_param</span> <span class="s">SCRIPT_NAME</span> <span class="s">/myapp</span><span class="p">;</span>
<span class="kn">uwsgi_modifier1</span> <span class="mi">30</span><span class="p">;</span>
<span class="p">}</span>
</pre>
<p>(<a class="reference external" href="http://pygments.org/docs/lexers/">Pygments</a> has an Ngnix lexer, who&nbsp;knew?)</p>
<p>From the documentation
<a class="reference external" href="http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps">http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#dynamic-apps</a>:</p>
<blockquote>
Expand Down

0 comments on commit 4680751

Please sign in to comment.