http://techwiki.co.uk/index.php?title=Joomla_Nginx_Config&feed=atom&action=history
Joomla Nginx Config - Revision history
2024-03-28T15:25:42Z
Revision history for this page on the wiki
MediaWiki 1.34.0
http://techwiki.co.uk/index.php?title=Joomla_Nginx_Config&diff=146&oldid=prev
Adam.birds at 17:26, 30 April 2016
2016-04-30T17:26:58Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 17:26, 30 April 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l48" >Line 48:</td>
<td colspan="2" class="diff-lineno">Line 48:</td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div></pre></div></td><td class='diff-marker'> </td><td style="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;"><div></pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"></td><td class='diff-marker'> </td><td style="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;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="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;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Joomla]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>[[Category:Nginx]]</div></td><td class='diff-marker'> </td><td style="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;"><div>[[Category:Nginx]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>[[Category:Linux]]</div></td><td class='diff-marker'> </td><td style="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;"><div>[[Category:Linux]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="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;"><div>[[Category:Contents]]</div></td><td class='diff-marker'> </td><td style="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;"><div>[[Category:Contents]]</div></td></tr>
</table>
Adam.birds
http://techwiki.co.uk/index.php?title=Joomla_Nginx_Config&diff=90&oldid=prev
Adam.birds: Created page with "'''Here is the Nginx Config for Joomla:''' <pre> upstream examplecombackend { server unix:/var/run/php-fcgi-examplecom.sock; } server { listen 80; se..."
2016-04-28T10:40:39Z
<p>Created page with "'''Here is the Nginx Config for Joomla:''' <pre> upstream examplecombackend { server unix:/var/run/php-fcgi-examplecom.sock; } server { listen 80; se..."</p>
<p><b>New page</b></p><div>'''Here is the Nginx Config for Joomla:'''<br />
<br />
<pre><br />
upstream examplecombackend {<br />
server unix:/var/run/php-fcgi-examplecom.sock;<br />
}<br />
<br />
server {<br />
listen 80;<br />
server_name example.com;<br />
server_name_in_redirect off;<br />
<br />
access_log /var/www/vhosts/example.com/access.log;<br />
error_log /var/www/vhosts/example.com/error.log warn;<br />
<br />
root /var/www/vhosts/example.com/htdocs;<br />
index index.php index.html index.htm default.html default.htm;<br />
<br />
# Support Clean (aka Search Engine Friendly) URLs<br />
location / {<br />
try_files $uri $uri/ /index.php?$args;<br />
}<br />
<br />
# deny running scripts inside writable directories<br />
location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ {<br />
return 403;<br />
error_page 403 /403_error.html;<br />
}<br />
<br />
location ~ \.php$ {<br />
fastcgi_pass examplecombackend;<br />
fastcgi_index index.php;<br />
include fastcgi_params;<br />
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br />
include /etc/nginx/fastcgi.conf;<br />
}<br />
<br />
# caching of files <br />
location ~* \.(ico|pdf|flv)$ {<br />
expires 1y;<br />
}<br />
<br />
location ~* \.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$ {<br />
expires 14d;<br />
}<br />
<br />
}<br />
</pre><br />
<br />
[[Category:Nginx]]<br />
[[Category:Linux]]<br />
[[Category:Contents]]</div>
Adam.birds