<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dears, in me Lab i have nginx work fine, but i dont understood
the diretive location with regex "~ /\. " "~* \." and <br>
"~ \.php$" bellow examples in me enviroment. <br>
</p>
<p><br>
</p>
<p><br>
</p>
<pre style="margin: 0px 0px 10px; padding: 9.5px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; line-height: 18.5667px; word-wrap: break-word; background-color: rgb(245, 245, 245); border-color: rgb(204, 204, 204); border-radius: 4px; border-style: solid; border-width: 1px; box-sizing: border-box; color: rgb(51, 51, 51); display: block; font-size: 16px; overflow: auto; word-break: break-all; white-space: pre-wrap; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"> location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
</pre>
<pre style="margin: 0px 0px 10px; padding: 9.5px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; line-height: 18.5667px; word-wrap: break-word; background-color: rgb(245, 245, 245); border-color: rgb(204, 204, 204); border-radius: 4px; border-style: solid; border-width: 1px; box-sizing: border-box; color: rgb(51, 51, 51); display: block; font-size: 16px; overflow: auto; word-break: break-all; white-space: pre-wrap; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"> location ~ \.php$ {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}</pre>
<p><br>
</p>
<p><br>
</p>
<pre style="margin: 0px 0px 10px; padding: 9.5px; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; line-height: 18.5667px; word-wrap: break-word; background-color: rgb(245, 245, 245); border-color: rgb(204, 204, 204); border-radius: 4px; border-style: solid; border-width: 1px; box-sizing: border-box; color: rgb(51, 51, 51); display: block; font-size: 16px; overflow: auto; word-break: break-all; white-space: pre-wrap; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"> location ~ /\. {
deny all;
access_log off;
log_not_found off;
}</pre>
<pre class="moz-signature" cols="72">--
Att,
BR-RJ.
Togy Silva Ocozzy
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:rjtogy1966@gmail.com">rjtogy1966@gmail.com</a>
LABS OCOZZI PE.</pre>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="https://www.avast.com/antivirus">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
Este email foi escaneado pelo Avast antivírus.
<br><a href="https://www.avast.com/antivirus">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>