<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>tks Anoop<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Em 19/09/2018 07:51, Anoop Alias
      escreveu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAO6TEX3OL1k9xHsOQEqZysM8K+da=atS68bW-VYhXY_Cvg9otw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">location ~ /\. <br>
          </div>
          <div dir="ltr"><br>
          </div>
          <div>regex location for /.   </div>
          <div>The back slash before dot is just an escape char as dot
            has special meaning in regex </div>
          <div>---------------------------------------------------</div>
          <div><br>
          </div>
          <div>location ~ \.php$<br>
          </div>
          <div><br>
          </div>
          <div>regex location for anything ending in .php </div>
          <div>Here again the backslash before dot serve as an escape </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Wed, Sep 19, 2018 at 4:15 PM Labs Ocozzi <<a
            href="mailto:rjtogy1966@gmail.com" moz-do-not-send="true">rjtogy1966@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div 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;text-align:start;text-indent:0px;text-transform:none;word-spacing: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;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">       location ~ \.php$ {
                try_files $uri =404;
                include /etc/nginx/fastcgi_params;
                fastcgi_pass <a href="http://127.0.0.1:9000" target="_blank" moz-do-not-send="true">127.0.0.1:9000</a>;
                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;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">       location ~ /\. {
                deny all;
                access_log off;
                log_not_found off;
       }</pre>
            <pre class="m_577209082744095808moz-signature" cols="72">-- 
Att,
BR-RJ.
Togy Silva Ocozzy
e-mail: <a class="m_577209082744095808moz-txt-link-abbreviated" href="mailto:rjtogy1966@gmail.com" target="_blank" moz-do-not-send="true">rjtogy1966@gmail.com</a>
LABS OCOZZI PE.</pre>
            <div
              id="m_577209082744095808DAB4FAD8-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">
                <tbody>
                  <tr>
                    <td style="border:none;padding:0px 15px 0px 8px"> <a
                        href="https://www.avast.com/antivirus"
                        target="_blank" moz-do-not-send="true"> <img
                          src="http://static.avast.com/emails/avast-mail-stamp.png"
                          alt="Avast logo" moz-do-not-send="true"
                          border="0"> </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"
                          target="_blank" moz-do-not-send="true">www.avast.com</a>
                      </p>
                    </td>
                  </tr>
                </tbody>
              </table>
              <br>
              <a
                href="#m_577209082744095808_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"
                width="1" height="1" moz-do-not-send="true"> </a></div>
          </div>
          _______________________________________________<br>
          nginx mailing list<br>
          <a href="mailto:nginx@nginx.org" target="_blank"
            moz-do-not-send="true">nginx@nginx.org</a><br>
          <a href="http://mailman.nginx.org/mailman/listinfo/nginx"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://mailman.nginx.org/mailman/listinfo/nginx</a></blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature"
        data-smartmail="gmail_signature">
        <div dir="ltr">
          <div><b>Anoop P Alias</b> 
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
    </blockquote>
    <br>
    <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>
  </body>
</html>