Skip to content

Instantly share code, notes, and snippets.

@tradenet
tradenet / Sendy Nginx Config
Created February 26, 2024 20:04 — forked from amanjuman/Sendy Nginx Config
Sendy Nginx Config for PHP8.1 FPM
sudo su
//Setup Hostname
hostnamectl set-hostname subdomain.domain.tld
## Basic
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get autoremove -y && sudo apt-get install software-properties-common
//Setup SWAP
sudo fallocate -l 1G /swapfile;
ls -lh /swapfile;
@tradenet
tradenet / proxmox-install.sh
Created November 28, 2023 23:43 — forked from willwm/proxmox-install.sh
Fresh Proxmox Server install script
#!/bin/bash
# TODO: Remove pve-enterprise, add pve-no-subscription repo to sources.list(*)
# Update packages, install essentials
apt update
apt install -y build-essential git zsh htop
# Update Proxmox Appliance Manager (https://forum.proxmox.com/threads/no-turnkey-fresh-install-5-1-35.38199/)
pveam update
@tradenet
tradenet / Caddy.env
Created November 26, 2023 15:20 — forked from crazy-max/Caddy.env
Proxmox web interface through Caddy as reverse proxy with Let's Encrypt
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_HOSTED_ZONE_ID=
@tradenet
tradenet / gitlab.rb
Created October 24, 2023 23:05 — forked from Erutan409/gitlab.rb
Gitlab Nginx Reverse Proxy Configuration (with Let's Encrypt SSL)
# These are fragments of the configuration that will need to be updated
# ---
## GitLab URL
##! URL on which GitLab will be reachable.
##! For more details on configuring external_url see:
##! https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab
external_url 'https://gitlab.your-fqdn.com'
#external_url 'http://gitlab.internal.lan'
@tradenet
tradenet / keybase.md
Created November 3, 2022 15:15
Keybase

Keybase proof

I hereby claim:

  • I am tradenet on github.
  • I am tradenet (https://keybase.io/tradenet) on keybase.
  • I have a public key whose fingerprint is AF33 8014 6471 CEAD 97B5 5BF8 7160 DE81 506E B715

To claim this, I am signing this object: