<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Nginx on sigtar.com</title>
		<link>https://sigtar.com/tags/nginx/</link>
		<description>Recent content in Nginx on sigtar.com</description>
		<generator>Hugo</generator>
		<language>en-nz</language>
		
		
		
		
			<lastBuildDate>Mon, 15 Oct 2018 00:00:00 +1300</lastBuildDate>
		
			<atom:link href="https://sigtar.com/tags/nginx/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>moving wordpress to http2 (via https)</title>
				<link>https://sigtar.com/2018/10/15/moving-wordpress-to-https/</link>
				<pubDate>Mon, 15 Oct 2018 00:00:00 +1300</pubDate>
				<guid>https://sigtar.com/2018/10/15/moving-wordpress-to-https/</guid>
				<description>&lt;p&gt;&lt;img src=&#34;https://sigtar.com/wp-content/uploads/Capture-5.png&#34; alt=&#34;&#34;&gt;   &lt;a href=&#34;https://sigtar.com/2018/10/15/moving-wordpress-to-https/capture-8/&#34;&gt;&lt;/a&gt; &lt;a href=&#34;https://sigtar.com/2018/10/15/moving-wordpress-to-https/capture-7/&#34;&gt;&lt;/a&gt;&lt;img src=&#34;https://sigtar.com/wp-content/uploads/Capture-7-300x169.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;I just moved my wordpress site to http2 (via https). Some advice on steps to moving your site ;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Run it behind nginx + lets encrypt - offload ssl certs and get http2 performance&lt;/li&gt;&#xA;&lt;li&gt;Setup nginx default to redirect all http -&amp;gt; https&lt;/li&gt;&#xA;&lt;li&gt;update your WordPress site to correct URL (via admin / settings / general)  i.e.&lt;/li&gt;&#xA;&lt;li&gt;Run WP plug-in to change all media / links to new https links. Else you get mixed secuirty (some http, some https)&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I used - &lt;a href=&#34;https://wordpress.org/plugins/velvet-blues-update-urls/&#34;&gt;https://wordpress.org/plugins/velvet-blues-update-urls/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>SSL caching and redirects in chrome</title>
				<link>https://sigtar.com/2018/10/15/nginx-ssl-caching-and-redirects-in-chrome/</link>
				<pubDate>Mon, 15 Oct 2018 00:00:00 +1300</pubDate>
				<guid>https://sigtar.com/2018/10/15/nginx-ssl-caching-and-redirects-in-chrome/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://sigtar.com/2018/10/15/nginx-ssl-caching-in-chrome/capture-6/&#34;&gt;&lt;img src=&#34;https://sigtar.com/wp-content/uploads/Capture-4.png&#34; alt=&#34;&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;While setting up SSL reverse proxy using lets encrypt and nginx i  had a few troubles with testing via googles Chrome browser.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Chrome caches some SSL responses which can be cleared by deleting your browsing data via settings or Ctrl+Shift+Del.&lt;/li&gt;&#xA;&lt;li&gt;Chrome also caches http -&amp;gt; https redirects, you can see these by going to chrome://net-internals and select “HSTS” from the drop down. Enter the domain name under “Delete domain” and press the Delete button&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The easiest thing to do during &lt;strong&gt;testing&lt;/strong&gt; is use &lt;strong&gt;incognito mode&lt;/strong&gt;. You will not need to clear the cache every time you change config or re-issue certificates.&lt;/p&gt;</description>
			</item>
			<item>
				<title>bye bye http - hello letsencrypt</title>
				<link>https://sigtar.com/2018/10/11/bye-bye-http-hello-letsencrypt/</link>
				<pubDate>Thu, 11 Oct 2018 00:00:00 +1300</pubDate>
				<guid>https://sigtar.com/2018/10/11/bye-bye-http-hello-letsencrypt/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://sigtar.com/2018/10/11/bye-bye-http-hello-letsencrypt/capture-5/&#34;&gt;&lt;img src=&#34;https://sigtar.com/wp-content/uploads/Capture-3.png&#34; alt=&#34;&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve been a fan of HTTP and caching since my dial-up modem.&lt;/p&gt;&#xA;&lt;p&gt;Skip to today where google returns HTTPS sites higher in its search results. Its could also be possible that you cannot trust a man in the middle HTTP cache any longer either right? :)&lt;/p&gt;&#xA;&lt;p&gt;SSL certs have traditionally been expensive, but say welcome to lets encrypt which provides a free way of securing all of your websites. If you haven&amp;rsquo;t heard of it check it out here - &lt;a href=&#34;https://letsencrypt.org/&#34;&gt;https://letsencrypt.org/&lt;/a&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>nginx - setup as reverse proxy</title>
				<link>https://sigtar.com/2014/02/08/nginx-setup-as-reverse-proxy/</link>
				<pubDate>Sat, 08 Feb 2014 00:00:00 +1300</pubDate>
				<guid>https://sigtar.com/2014/02/08/nginx-setup-as-reverse-proxy/</guid>
				<description>&lt;p&gt;Previously to take down this wordpress site all you needed to do was hold down F5 for about 20 seconds then the site would take about 5 mins to recover.&lt;/p&gt;&#xA;&lt;p&gt;There were a few factors causing this and quite a few different methods to solving the problem. Wordpress itself is run on php / apache, apache has an evasive mod which can block certain IPs depending on the defined abusive behavior (typical DDOS attack). Since i like to run a few websites behind a single IP i looked at fixing the issue closer to the perimeter&amp;hellip;.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
