<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Moodle_Nginx_Config</id>
	<title>Moodle Nginx Config - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://techwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Moodle_Nginx_Config"/>
	<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Moodle_Nginx_Config&amp;action=history"/>
	<updated>2026-05-17T15:05:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://techwiki.co.uk/index.php?title=Moodle_Nginx_Config&amp;diff=149&amp;oldid=prev</id>
		<title>Adam.birds at 17:28, 30 April 2016</title>
		<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Moodle_Nginx_Config&amp;diff=149&amp;oldid=prev"/>
		<updated>2016-04-30T17:28:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:28, 30 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot; &gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Moodle]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Nginx]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Nginx]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Linux]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Linux]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Contents]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Contents]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Adam.birds</name></author>
		
	</entry>
	<entry>
		<id>http://techwiki.co.uk/index.php?title=Moodle_Nginx_Config&amp;diff=98&amp;oldid=prev</id>
		<title>Adam.birds: Created page with &quot;'''Here is the Nginx Config for Moodle:'''  &lt;pre&gt;   upstream examplecombackend {     server unix:/var/run/php-fcgi-examplecom.sock;   }    server {     listen 80;     listen 4...&quot;</title>
		<link rel="alternate" type="text/html" href="http://techwiki.co.uk/index.php?title=Moodle_Nginx_Config&amp;diff=98&amp;oldid=prev"/>
		<updated>2016-04-28T10:52:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Here is the Nginx Config for Moodle:&amp;#039;&amp;#039;&amp;#039;  &amp;lt;pre&amp;gt;   upstream examplecombackend {     server unix:/var/run/php-fcgi-examplecom.sock;   }    server {     listen 80;     listen 4...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Here is the Nginx Config for Moodle:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  upstream examplecombackend {&lt;br /&gt;
    server unix:/var/run/php-fcgi-examplecom.sock;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  server {&lt;br /&gt;
    listen 80;&lt;br /&gt;
    listen 443 ssl;&lt;br /&gt;
    server_name example.com;&lt;br /&gt;
    root /var/www/vhosts/example.com/htdocs;&lt;br /&gt;
&lt;br /&gt;
    ssl_certificate      /etc/nginx/ssl/example.com.crt;&lt;br /&gt;
    ssl_certificate_key  /etc/nginx/ssl/example.com.key;&lt;br /&gt;
    ssl_protocols        TLSv1 TLSv1.1 TLSv1.2;&lt;br /&gt;
    ssl_ciphers          RC4-SHA:!HIGH:!ADH;&lt;br /&gt;
&lt;br /&gt;
    location / {&lt;br /&gt;
      index index.html index.php;&lt;br /&gt;
      try_files $uri $uri/ @handler;&lt;br /&gt;
      expires 30d;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    location /app/                { deny all; }&lt;br /&gt;
    location /includes/           { deny all; }&lt;br /&gt;
    location /media/downloadable/ { deny all; }&lt;br /&gt;
    location /pkginfo/            { deny all; }&lt;br /&gt;
    location /report/config.xml   { deny all; }&lt;br /&gt;
    location /var/                { deny all; }&lt;br /&gt;
&lt;br /&gt;
    location  /. {&lt;br /&gt;
      return 404;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    location @handler {&lt;br /&gt;
      rewrite / /index.php;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    location /dataroot/ {&lt;br /&gt;
      internal;&lt;br /&gt;
      alias /var/www/vhosts/example.com/moodledata/;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    include &amp;quot;ssl_offloading.inc&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
    location ~ [^/]\.php(/|$) {&lt;br /&gt;
      fastcgi_split_path_info  ^(.+\.php)(/.+)$;&lt;br /&gt;
      fastcgi_index            index.php;&lt;br /&gt;
      fastcgi_pass             examplecombackend;&lt;br /&gt;
      include                  fastcgi_params;&lt;br /&gt;
      fastcgi_param   PATH_INFO       $fastcgi_path_info;&lt;br /&gt;
      fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Nginx]]&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Contents]]&lt;/div&gt;</summary>
		<author><name>Adam.birds</name></author>
		
	</entry>
</feed>