NGINX - Custom Error Pages. A Decent Title Not Found

NGINX - Custom Error Pages. A Decent Title Not Found

Well hello again. Another post you say? Another pointless post you may be thinking. Let's see... Currently this site and others under swakes.co.uk and swakes.uk are being managed and rendered to you via NGINX. As standard, NGINX comes with some pretty boring and basic error pages to handle 403, 404, 503 etc error codes. However we can change that and at the same time do some clever scheming to add some security, if not obscurity, to your pages. The plan? To present a 404 error page for any error response page generated. The reason? If anyone attempts

Read More

SWAKES.uk to .co.uk You Say? ... NGINX SSL Reverse Proxy Server Guide

SWAKES.uk to .co.uk You Say? ... NGINX SSL Reverse Proxy Server Guide

I'm not expecting anyone to notice, apart from my colleague at work who I've been badgering for help, but I've moved my blog to blog.swakes.co.uk. Two main reasons. One was that my SSL certificate had expired, took two days to notice, and the other was 'restructuring'. If you had a goose at my old certificate it contain around 50 SAN entries. Everything ranging from store, blog, camera, media to fishtank.swakes.uk. In pure haste and excitement, I created every possible SAN I would possibly use not understanding and probably giving security a thought. Now this lovely

Read More

CnCNet - C&C Red Alert 2 Yuri's Revenge/Tiberian Sun LAN Parties, Now WAN Parties

CnCNet - C&C Red Alert 2 Yuri's Revenge/Tiberian Sun LAN Parties, Now WAN Parties

Greetings you, thanks for stopping by. This title will probably make no sense (especially WAN Parties) to most, but if you're a old school PC gamer like your boy SWAKES here, then you would of probably heard of Command & Conquer Red Alert 2 (Yuri's Revenge is the expansion pack). section,h1 { padding: 0 1em; } .gif { display: grid; grid-template-columns: repeat(2,300px); /* 3 columns */ grid-template-rows: repeat(2,200px); /* 3 rows */ grid-gap: 10px 5px; /* 50 pixels of space added between rows and 30 pixels added between columns */ } .gif-item{ padding:5px; } img { margin-left: auto; margin-right: auto; display: block; } An absolute classic from

Read More

Home Assistant (Hass.io) - Home Automation, The Beginning

Home Assistant (Hass.io) - Home Automation, The Beginning

Damm, a pretty dramatic intro there. However if you're a keen reader, my first post in question, I mentioned that I'm very much into the whole 'Home Automation' thing. In particular a system called Home Assistant. I stumbled across this around a year back whilst looking for something to manage custom built sensors ranging from temperature and humidity, ... At the time I was on track to use a similar solution called MySensors. So what is Home Assistant?I'm not going to go through the hassle of writing a guide as its relevantly easy to setup. All you need is a

Read More

Get Bashing Bash with Ubuntu Bash Shell On Windows 10

Get Bashing Bash with Ubuntu Bash Shell On Windows 10

Greetings again to another fantastic guide by your boy, SWAKES. If you're an avid reader of my shite or wanting to pick out a certain project, you would have noticed everything is mostly written for a Linux environment. A bit selfish of me I know but I really can't be arsed to write stuff twice. In my defence, most of the stuff will only run on Linux OS any who. For all those Windows users out there (triple can't be arsed for OSX), there is a way to run Linux (Bash) on your OS. Previously we'd have to spin up

Read More