<?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 Logan's Nest</title><link>https://blog.han.life/tags/nginx/</link><description>Recent content in nginx on Logan's Nest</description><generator>Hugo</generator><language>en-au</language><lastBuildDate>Sun, 14 Jan 2018 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.han.life/tags/nginx/index.xml" rel="self" type="application/rss+xml"/><item><title>Pooq Proxy</title><link>https://blog.han.life/posts/2018/2018-01-14-pooq/</link><pubDate>Sun, 14 Jan 2018 00:00:00 +0000</pubDate><guid>https://blog.han.life/posts/2018/2018-01-14-pooq/</guid><description>&lt;p&gt;This is my current setup for watching Pooq in Australia for anyone interested. With local proxy, below 4k streaming (UHD) seems alright with NBN via AussieBB. TPG might have better throughput as they have &lt;a href="https://en.wikipedia.org/wiki/Pipe_Pacific_Cable"&gt;PPC-1&lt;/a&gt; submarine cable.&lt;/p&gt;</description></item><item><title>Lets Encrypt nginx SSL certificate renewal via cron</title><link>https://blog.han.life/posts/2015/2015-11-18-lets-encrypt-certificate-renewal-via-cron/</link><pubDate>Wed, 18 Nov 2015 00:00:00 +0000</pubDate><guid>https://blog.han.life/posts/2015/2015-11-18-lets-encrypt-certificate-renewal-via-cron/</guid><description>&lt;p&gt;Add below as a cron entry.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;#!/bin/bash&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/path/letsencrypt/letsencrypt-auto --server https://acme-v01.api.letsencrypt.org/directory --renew-by-default -a webroot --webroot-path /webroot/ --email youremail --text --agree-tos --agree-dev-preview -d 7979.us -d www.7979.us auth&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/etc/init.d/nginx reload&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Then configure nginx SSL like below.&lt;/p&gt;</description></item></channel></rss>