These instructions will install Firefly III on Ubuntu 18.04. It includes setup for:
- PHP 7.2
- Nginx
- MariaDB
- Securing an Ubuntu server
- Securing Maria DB
- Let's Encrypt
From c45dfdd8d0c3de53b4f56610292a72ecad321362 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= <[email protected]> | |
Date: Fri, 15 Jun 2018 14:58:33 +0800 | |
Subject: [PATCH] add "proxy_ssl_alpn" directive | |
--- | |
src/event/ngx_event_openssl.c | 22 ++++++++++++++++++ | |
src/event/ngx_event_openssl.h | 2 ++ | |
src/http/modules/ngx_http_proxy_module.c | 29 ++++++++++++++++++++++++ | |
src/http/modules/ngx_http_ssl_module.c | 2 -- |
#!/usr/bin/env bash | |
set -e | |
# names of latest versions of each package | |
export NGINX_VERSION=1.13.5 | |
export VERSION_ZLIB=zlib-1.2.11 | |
export VERSION_PCRE=pcre-8.41 | |
export VERSION_LIBRESSL=libressl-2.6.1 | |
export VERSION_NGINX=nginx-$NGINX_VERSION |
More details - http://blog.gbaman.info/?p=791
For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt
file dtoverlay=dwc2
on a new line, then save the file.
3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh
in the SD card as well. By default SSH i
#!/usr/bin/env bash | |
# names of latest versions of each package | |
export VERSION_PCRE=pcre-8.38 | |
export VERSION_OPENSSL=openssl-1.0.2d | |
export VERSION_NGINX=nginx-1.9.7 | |
# URLs to the source directories | |
export SOURCE_OPENSSL=https://www.openssl.org/source/ | |
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
# sets the proxy cache path location, max size 2g | |
proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=STATIC:100m inactive=24h max_size=2g; | |
# transfers the `Host` header to the backend | |
proxy_set_header Host $host; | |
# uses the defined STATIC cache zone | |
proxy_cache STATIC; | |
# cache 200 10 minutes, 404 1 minute, others status codes not cached |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.