{"id":607,"date":"2018-05-28T09:16:17","date_gmt":"2018-05-28T09:16:17","guid":{"rendered":"https:\/\/www.dewlance.com\/kb\/?p=607"},"modified":"2022-08-16T11:13:51","modified_gmt":"2022-08-16T11:13:51","slug":"the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018","status":"publish","type":"post","link":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018","title":{"rendered":"The steps in securing Nginx with Let&#8217;s Encrypt on Ubuntu 18.04 VPS &#8211; 2026"},"content":{"rendered":"<p>Let&#8217;s Encrypt is a kind of CA (Certificate Authority) which is useful for downloading and installing TLS or SSL certificates. Installing these certificates is required to allow HTTPS to be perfectly encrypted on the web server. By using this CA, we can simplify and speed up HTTPS encryption process because we can use Certbot. Certbot itself is a software that automates almost all of the steps (required in the HTTPS encryption process). With the development of technology then now we can install TLS or SSL certificate automatically on Nginx and Apache.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-611\" src=\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif\" alt=\"\" width=\"400\" height=\"289\" \/><\/p>\n<p>We recommend Certbot because this software can help you to get the SSL certificate for Nginx in Ubuntu 18.04 for free. You can also set the certificate you get to be automatically updated. We also recommend you to create one Nginx server block file for each domain. By separating the files you can minimize the risk of common mistakes and also keep your default file secure. So&#8230;to make it all happens, you need to secure Nginx with Let\u2019s Encrypt on Ubuntu 18.04. But how? Just keep reading on!<\/p>\n<p>&nbsp;<\/p>\n<h5>Before you get started, make sure you have the following four requirements:<\/h5>\n<ul>\n<li>One Ubuntu server 18.04: This includes a non-root sudo and firewall.<\/li>\n<li>One domain name: Make sure your domain name is registered. In this article, we use &#8216;example.com&#8217;. If you want to use a domain name for free, Freenom is one of the best sources.<\/li>\n<li>Nginx: You can find a tutorial on how to install Nginx on Ubuntu 18.04.<\/li>\n<li>Server block: This is to accommodate your domain.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>Steps:<\/h4>\n<p>The first step is to install Certbot<\/p>\n<p>Installing Certbot on your server is what you need to do before getting an SSL certificate. Do not take Certbot from Ubuntu because it may have expired. You are advised to take it from the original developer.<\/p>\n<p>&nbsp;<\/p>\n<h5>Add the repository with: <\/h5>\n<pre>sudo add-apt-repository ppa: certbot\/certbot<\/pre>\n<p>To accept, press &#8216;<strong>ENTER<\/strong>&#8216;. After that you can update the package list for the repository (the new one). After updating the package list, you can install Nginx Certbot with apt: sudo apt installs python-certbot-nginx.<\/p>\n<p>&nbsp;<\/p>\n<h5>Now, configure your Certbot<\/h5>\n<p>To be honest, at this point you can use your Certbot but you still need to configure it in SSL so it fits Nginx. Configuration is required so Certbot can find the server block in Nginx. Certbot looks for the right server block by searching for matches between your server_name and your domain you have selected earlier, in this case it is &#8216;example.com&#8217;.<\/p>\n<p>&nbsp;<\/p>\n<p>In &#8216;example.com&#8217; case, you must have server block in \/etc\/nginx\/sites-available\/example.com. To make sure everything is on the right track, open the server block file for your domain. You can use this: sudo nano \/etc\/nginx\/sites-available\/example.com. If the previous steps are correct then you will find this: \/etc\/nginx\/sites-available\/example.com<\/p>\n<p><strong>&#8230;<\/strong><br \/>\nserver_name example.com www.example.com;<br \/>\n<strong>&#8230;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>If you find the texts as above, then save the file and exit your editor. Remember that you need to verify each time you change your configuration.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h5>Update the firewall<\/h5>\n<p>This third step needs to be done to allow HTTPS traffic. You need to do firewall activation but before doing that, you should make sure your settings allow HTTPS traffic. Type &#8216;sudo ufw&#8217; status to see your current settings.<\/p>\n<p>If you see the texts as follows:<\/p>\n<p><strong>Output<\/strong><\/p>\n<pre>Status: active<\/pre>\n<p>&nbsp;<\/p>\n<p>To Action From<br \/>\n&#8211; &#8212;&#8212; &#8212;-<\/p>\n<pre>OpenSSH ALLOW Anywhere\r\nNginx HTTP ALLOW Anywhere\r\nOpenSSH (v6) ALLOW Anywhere (v6)\r\nNginx HTTP (v6), ALLOW Anywhere (v6)<\/pre>\n<p>&nbsp;<\/p>\n<p>Then your settings only allow HTTP traffic as the only one that leads to your web server. To make HTTPS traffic smoother, you need to allow the full Nginx profile to be displayed. It is advisable for you to get rid of the excessive NTPx HTTP profile allowance.<\/p>\n<pre>sudo ufw allows 'Full Nginx'\r\nsudo ufw delete allows 'Nginx HTTP'<\/pre>\n<p>&nbsp;<\/p>\n<p>Your status should now look like this:<\/p>\n<pre>status sudo ufw<\/pre>\n<p>Output<br \/>\nStatus: active<\/p>\n<p>To Action From<\/p>\n<pre>- ------ ----\r\nOpenSSH ALLOW Anywhere\r\nNginx Full ALLOW Anywhere\r\nOpenSSH (v6) ALLOW Anywhere (v6)\r\nNginx Full (v6) ALLOW Anywhere (v6)<\/pre>\n<h5><\/h5>\n<h5><\/h5>\n<p>&nbsp;<\/p>\n<h5>Now it&#8217;s time to get your SSL certificate<\/h5>\n<p>If you use Certbot, you have several ways to get your certificate through the plugin. For information, the Nginx reconfiguration will be set by the Nginx Plugin and reload the configuration if you need one. Type as follows:<\/p>\n<pre>sudo certbot --nginx -d example.com -d www.example.com<\/pre>\n<p>&nbsp;<\/p>\n<p>The text above will run your Certbot with the Nginx plugin. You need to enter an email name and agree to the terms of service provided. After going through it all, Certbot will automatically connect to the server&#8217;s Let&#8217;s Encrypt. You will be prompted for verification of domain ownership verification.<\/p>\n<p>&nbsp;<\/p>\n<h5><\/h5>\n<h5>You will find the following options:<\/h5>\n<ul>\n<li>No redirect: If you choose this you do not need to reconfigure it on your web server.<\/li>\n<li>Redirect: By selecting this you are requesting the redirection of all requests with the purpose of securing HTTPS access.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>If you have made your selection, press &#8216;ENTER&#8217;. Certbot will tell you about the success of the configuration process. You will see the following texts:<\/p>\n<p><strong>Output<\/strong><br \/>\nVITAL RECORDS:<br \/>\n&#8211; Congratulations! Your certificates and chains have been saved in:<\/p>\n<pre> \/etc\/letsencrypt\/live\/example.com\/fullchain.pem<\/pre>\n<p>&nbsp;<\/p>\n<p>Your key file has been saved in:<\/p>\n<pre> \/etc\/letsencrypt\/live\/example.com\/privkey.pem<\/pre>\n<p>&nbsp;<\/p>\n<p>Your certificate will expire in 2018-07-23. To get new or tweaked<br \/>\nversion of this certificate in the future, just run certbot again<br \/>\nwith the &#8220;certonly&#8221; option. To update non-interactive * all * from<br \/>\ncertificate, run command<\/p>\n<pre>certbot renew<\/pre>\n<ul>\n<li>Your account credentials have been saved in your Certbot<br \/>\nconfiguration directory in \/etc\/letsencrypt. You have to create<br \/>\nsecure backup of this folder now. This configuration directory will<br \/>\nalso contains certificates and private keys obtained by Certbot<br \/>\nmaking regular backups of this folder is ideal.<\/li>\n<li>If you like Certbot, consider supporting our work with:<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Donate to ISRG \/ Let&#8217;s Encrypt: https:\/\/letsencrypt.org\/donate<br \/>\nDonate to EFF: https:\/\/eff.org\/donate-le<\/p>\n<p>&nbsp;<\/p>\n<p>To make sure your certificate has been successfully installed, you can try to reach your website. If you see some sort of green key icon then that means your site has been secured as it should.<\/p>\n<p>&nbsp;<\/p>\n<h5>And finally we will do the automatic update verification on Certbot<\/h5>\n<p>You need to know that your certificates are valid only three months, therefore, updates are things you need to make sure. You can add an extension script to \/etc\/cron.d. By adding this script you can enable automatic updates. How do I test whether you&#8217;ve verified updates correctly? Do it with your Certbot! Type:<\/p>\n<pre> sudo certbot renew --dry-run<\/pre>\n<p>&nbsp;<\/p>\n<p>If no notification indicates an error then you have successfully verified the update on your Certbot.<\/p>\n<p>&nbsp;<\/p>\n<p>Hopefully this article can provide answers on how to secure Nginx using let&#8217;s Encrypt on Ubuntu 18.04. Just try and good luck!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s Encrypt is a kind of CA (Certificate Authority) which is useful for downloading and installing TLS or SSL certificates. Installing these certificates is required to allow HTTPS to be perfectly encrypted on the web server. By using this CA, we can simplify and speed up HTTPS encryption process because we can use Certbot. Certbot [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[706],"tags":[],"class_list":["post-607","post","type-post","status-publish","format-standard","hentry","category-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The steps in securing Nginx with Let&#039;s Encrypt on Ubuntu 18.04 VPS - 2026 - Web Hosting Blog - Dewlance<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The steps in securing Nginx with Let&#039;s Encrypt on Ubuntu 18.04 VPS - 2026 - Web Hosting Blog - Dewlance\" \/>\n<meta property=\"og:description\" content=\"Let&#8217;s Encrypt is a kind of CA (Certificate Authority) which is useful for downloading and installing TLS or SSL certificates. Installing these certificates is required to allow HTTPS to be perfectly encrypted on the web server. By using this CA, we can simplify and speed up HTTPS encryption process because we can use Certbot. Certbot [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting Blog - Dewlance\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dewlance.hosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-28T09:16:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-16T11:13:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif\" \/>\n<meta name=\"author\" content=\"K.S\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dewlance\" \/>\n<meta name=\"twitter:site\" content=\"@dewlance\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"K.S\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018\"},\"author\":{\"name\":\"K.S\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#\/schema\/person\/0fe2f240cf5589599b50b9385ee53694\"},\"headline\":\"The steps in securing Nginx with Let&#8217;s Encrypt on Ubuntu 18.04 VPS &#8211; 2026\",\"datePublished\":\"2018-05-28T09:16:17+00:00\",\"dateModified\":\"2022-08-16T11:13:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018\"},\"wordCount\":1088,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif\",\"articleSection\":[\"VPS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018\",\"url\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018\",\"name\":\"The steps in securing Nginx with Let's Encrypt on Ubuntu 18.04 VPS - 2026 - Web Hosting Blog - Dewlance\",\"isPartOf\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif\",\"datePublished\":\"2018-05-28T09:16:17+00:00\",\"dateModified\":\"2022-08-16T11:13:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#primaryimage\",\"url\":\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif\",\"contentUrl\":\"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.dewlance.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The steps in securing Nginx with Let&#8217;s Encrypt on Ubuntu 18.04 VPS &#8211; 2022\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#website\",\"url\":\"https:\/\/www.dewlance.com\/blog\/\",\"name\":\"Web Hosting Blog - Dewlance\",\"description\":\"Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dewlance.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#organization\",\"name\":\"Dewlance\",\"url\":\"https:\/\/www.dewlance.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2022\/08\/logo.png\",\"contentUrl\":\"https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2022\/08\/logo.png\",\"width\":274,\"height\":89,\"caption\":\"Dewlance\"},\"image\":{\"@id\":\"https:\/\/www.dewlance.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/dewlance.hosting\/\",\"https:\/\/x.com\/dewlance\",\"https:\/\/www.youtube.com\/user\/dewlances\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dewlance.com\/blog\/#\/schema\/person\/0fe2f240cf5589599b50b9385ee53694\",\"name\":\"K.S\",\"url\":\"https:\/\/www.dewlance.com\/blog\/author\/dewlancevpsxen\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The steps in securing Nginx with Let's Encrypt on Ubuntu 18.04 VPS - 2026 - Web Hosting Blog - Dewlance","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018","og_locale":"en_US","og_type":"article","og_title":"The steps in securing Nginx with Let's Encrypt on Ubuntu 18.04 VPS - 2026 - Web Hosting Blog - Dewlance","og_description":"Let&#8217;s Encrypt is a kind of CA (Certificate Authority) which is useful for downloading and installing TLS or SSL certificates. Installing these certificates is required to allow HTTPS to be perfectly encrypted on the web server. By using this CA, we can simplify and speed up HTTPS encryption process because we can use Certbot. Certbot [&hellip;]","og_url":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018","og_site_name":"Web Hosting Blog - Dewlance","article_publisher":"https:\/\/www.facebook.com\/dewlance.hosting\/","article_published_time":"2018-05-28T09:16:17+00:00","article_modified_time":"2022-08-16T11:13:51+00:00","og_image":[{"url":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif","type":"","width":"","height":""}],"author":"K.S","twitter_card":"summary_large_image","twitter_creator":"@dewlance","twitter_site":"@dewlance","twitter_misc":{"Written by":"K.S","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#article","isPartOf":{"@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018"},"author":{"name":"K.S","@id":"https:\/\/www.dewlance.com\/blog\/#\/schema\/person\/0fe2f240cf5589599b50b9385ee53694"},"headline":"The steps in securing Nginx with Let&#8217;s Encrypt on Ubuntu 18.04 VPS &#8211; 2026","datePublished":"2018-05-28T09:16:17+00:00","dateModified":"2022-08-16T11:13:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018"},"wordCount":1088,"commentCount":0,"publisher":{"@id":"https:\/\/www.dewlance.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#primaryimage"},"thumbnailUrl":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif","articleSection":["VPS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018","url":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018","name":"The steps in securing Nginx with Let's Encrypt on Ubuntu 18.04 VPS - 2026 - Web Hosting Blog - Dewlance","isPartOf":{"@id":"https:\/\/www.dewlance.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#primaryimage"},"image":{"@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#primaryimage"},"thumbnailUrl":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif","datePublished":"2018-05-28T09:16:17+00:00","dateModified":"2022-08-16T11:13:51+00:00","breadcrumb":{"@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#primaryimage","url":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif","contentUrl":"https:\/\/www.dewlance.com\/kb\/wp-content\/uploads\/2018\/05\/how-to-secure-nginx-using-letsencrypt-on-ubuntu-18.04.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dewlance.com\/blog\/the-steps-in-securing-nginx-with-lets-encrypt-on-ubuntu-18-04-2018#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dewlance.com\/blog"},{"@type":"ListItem","position":2,"name":"The steps in securing Nginx with Let&#8217;s Encrypt on Ubuntu 18.04 VPS &#8211; 2022"}]},{"@type":"WebSite","@id":"https:\/\/www.dewlance.com\/blog\/#website","url":"https:\/\/www.dewlance.com\/blog\/","name":"Web Hosting Blog - Dewlance","description":"Tutorials","publisher":{"@id":"https:\/\/www.dewlance.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dewlance.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dewlance.com\/blog\/#organization","name":"Dewlance","url":"https:\/\/www.dewlance.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dewlance.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2022\/08\/logo.png","contentUrl":"https:\/\/www.dewlance.com\/blog\/wp-content\/uploads\/2022\/08\/logo.png","width":274,"height":89,"caption":"Dewlance"},"image":{"@id":"https:\/\/www.dewlance.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dewlance.hosting\/","https:\/\/x.com\/dewlance","https:\/\/www.youtube.com\/user\/dewlances\/"]},{"@type":"Person","@id":"https:\/\/www.dewlance.com\/blog\/#\/schema\/person\/0fe2f240cf5589599b50b9385ee53694","name":"K.S","url":"https:\/\/www.dewlance.com\/blog\/author\/dewlancevpsxen"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/posts\/607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/comments?post=607"}],"version-history":[{"count":9,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/posts\/607\/revisions"}],"predecessor-version":[{"id":1342,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/posts\/607\/revisions\/1342"}],"wp:attachment":[{"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/media?parent=607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/categories?post=607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dewlance.com\/blog\/wp-json\/wp\/v2\/tags?post=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}