Skip to content

Instantly share code, notes, and snippets.

View mmomjian's full-sized avatar

Matthew Momjian mmomjian

  • Philadelphia, PA USA
View GitHub Profile
server {
server_name im.domain.tld;
set $forwardx_port 45261;
set $forwardx_scheme http;
set $forwardx_server domain.internal;
listen 443 ssl;
error_page 500 502 503 504 /50x-toast.html;
location = /50x-toast.html {
#!/bin/bash
set -o nounset
set -o pipefail
# for first time init, run `./command_name init`
# edit these variables
BACKBLAZE_BUCKET='bucketname'
BACKBLAZE_URL='bburl.com'
ImmichPaths=('/path1' '/path2')
export AWS_ACCESS_KEY_ID='access_key'