<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: nalani5210</title>
    <description>The latest articles on DEV Community by nalani5210 (@nalani).</description>
    <link>https://dev.to/nalani</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F543975%2F4e96c62b-8a16-4660-8988-b84f7f03da8e.png</url>
      <title>DEV Community: nalani5210</title>
      <link>https://dev.to/nalani</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nalani"/>
    <language>en</language>
    <item>
      <title>Google Adsence-Website unreachable?</title>
      <dc:creator>nalani5210</dc:creator>
      <pubDate>Tue, 22 Dec 2020 06:15:45 +0000</pubDate>
      <link>https://dev.to/nalani/google-adsence-website-unreachable-3954</link>
      <guid>https://dev.to/nalani/google-adsence-website-unreachable-3954</guid>
      <description>&lt;p&gt;I recently made a small website. When I applied for the first step of Google Adsence, I kept saying that the website was not accessible, first check according to the official list&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is the provided URL correct? &lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;The provided URL must be accurate and has been verified many times&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;Is your website operating normally? Please make sure your website is published and online.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;The website is also functioning normally&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Since everything is correct, where is the problem? I checked the information and found out that I forgot to resolve the domain name. Just add the domain name resolution record.&lt;/p&gt;

</description>
      <category>googleadsence</category>
    </item>
    <item>
      <title>Nginx configures free SSL certificate in Windows environment (Let’s Encrypt)</title>
      <dc:creator>nalani5210</dc:creator>
      <pubDate>Mon, 21 Dec 2020 09:00:17 +0000</pubDate>
      <link>https://dev.to/nalani/nginx-configures-free-ssl-certificate-in-windows-environment-let-s-encrypt-36b6</link>
      <guid>https://dev.to/nalani/nginx-configures-free-ssl-certificate-in-windows-environment-let-s-encrypt-36b6</guid>
      <description>&lt;p&gt;Nowadays, Baidu, Google, Github and other websites have enabled https on the entire site. https is like a "lock" on the website. What HTTPS does is to encrypt the request to make it more secure for users. In addition to protecting the interests of users, it can also prevent the traffic that belongs to itself from being hijacked. Google has defined http as an insecure website. In my opinion, HTTPS is the future trend.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;1、The deployment environment is Winodws Nginx&lt;br&gt;
    2、Let's Encrypt is a public free SSL project abroad, hosted by the Linux Foundation and initiated by organizations such as Mozilla, Cisco, Akamai, IdenTrust, and EFF!&lt;br&gt;
    3、The certificate is valid for three months, and the visa certificate needs to be renewed every three months &lt;br&gt;
    4、Use win-acme tool to generate Let's Encrypt certificate&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;start&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Download the latest version of win-acme on github &lt;a href="https://github.com/win-acme/win-acme/releases/" rel="noopener noreferrer"&gt;download win-acme&lt;/a&gt; [My version win-acme.v2.1.12.943.x86.pluggable]&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://nginx.org/en/download.html" rel="noopener noreferrer"&gt;download nginx。&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Unzip win-acme, open wacs.exe&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;choose M [&lt;strong&gt;Create certificate(full options)&lt;/strong&gt;]&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;choose 2 [&lt;strong&gt;Manual input&lt;/strong&gt;] ， then enter your domain ,&lt;br&gt;
[such as : auto.example.com] , then press enter next.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;choose 6 . verify domain with dns&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;choose 2. RSA&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;choose 2. nginx container . then enter your Local storage file path . [such as : D:/ssl]&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Choose the last of the next two options - pass&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Don’t rush to the next step at this time, look at the information given &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;domain  : your domain&lt;br&gt;
  record  : host record&lt;br&gt;
  type    : record type &lt;br&gt;
  content : record value&lt;br&gt;
now，Go to your domain name resolution backend and fill in the corresponding value ， then press enter &lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If the verification is successful, go to your local directory to see if the encrypted file has been generated&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fnalani5210%2Flove.github.io%2Fblob%2Fbolg%2FWindows%25E7%258E%25AF%25E5%25A2%2583%25E4%25B8%258BNginx%25E9%2585%258D%25E7%25BD%25AESSL%25E5%2585%258D%25E8%25B4%25B9%25E8%25AF%2581%25E4%25B9%25A6%28Let%25E2%2580%2599s%2520Encrypt%29%2F%25E6%259F%25A5%25E7%259C%258B%25E6%259C%25AC%25E5%259C%25B0%25E6%2596%2587%25E4%25BB%25B6-en.png%3Fraw%3Dtrue" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fnalani5210%2Flove.github.io%2Fblob%2Fbolg%2FWindows%25E7%258E%25AF%25E5%25A2%2583%25E4%25B8%258BNginx%25E9%2585%258D%25E7%25BD%25AESSL%25E5%2585%258D%25E8%25B4%25B9%25E8%25AF%2581%25E4%25B9%25A6%28Let%25E2%2580%2599s%2520Encrypt%29%2F%25E6%259F%25A5%25E7%259C%258B%25E6%259C%25AC%25E5%259C%25B0%25E6%2596%2587%25E4%25BB%25B6-en.png%3Fraw%3Dtrue" title="local file" alt="local file"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Configure nginx, open /conf/nginx.conf then start nginx&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

    server {
        listen       443 ssl;
        server_name  your domain;
        ssl_certificate      D:/nginx-1.15.6/ssl/xxxxx-chain.pem;  
        ssl_certificate_key  D:/nginx-1.15.6/ssl/xxxxxx-key.pem;  
        ssl_session_timeout 5m;
        charset utf-8;

        location / {
            root  D:/index/;
            index index.html;
        }
    }


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;My small website has been configured with https . &lt;a href="https://www.jsonformatting.com/" rel="noopener noreferrer"&gt;https://www.jsonformatting.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;tips &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The validity period of the certificate is 90 days&lt;br&gt;
&lt;a href="https://letsencrypt.org/docs/rate-limits/" rel="noopener noreferrer"&gt;application restrictions&lt;/a&gt; &lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>nginx</category>
      <category>encrypt</category>
      <category>ssl</category>
    </item>
  </channel>
</rss>
