Fancyindex

Open up a terminal and ssh into your server. Once in, run sudo nano /etc/nginx/apps/external.conf and paste the contents in the codeblock below: # This config serves an unprotected index of files stored at /srv/external (from the softlinked path) location /external { include /etc/nginx/snippets/fancyindex.conf; } Now, we’re going to softlink the folder we want to share to /srv/external. This allows for you to share a folder from your user folder, or anywhere else on the machine to the public....

November 19, 2022 · 1 min · beeboo

Wildcard Certs

#!/bin/bash # By Brett Petch # apt-get install -y socat # install acme # curl https://get.acme.sh | sh # remove req for personal info /root/.acme.sh/acme.sh --set-default-ca --server letsencrypt export hostname="your.domain" export NJALLA_Token="API" # can swap out dns_cf with your dns provider. Make sure to export key first. /root/.acme.sh/acme.sh --force --issue --dns dns_njalla -d "${hostname}" -d "*.${hostname}" mkdir -p /etc/nginx/ssl/${hostname} # swap this out to whatever the name of the server is /root/....

November 18, 2022 · 1 min · soup

Xbackbone

Installer script for xbackbone This script is meant to be run on swizzin. Read more about xbackbone here: https://xbackbone.app #!/bin/bash # XBackBone Installer for Swizzin # By Brett # shellcheck source=sources/globals.sh . /etc/swizzin/sources/globals.sh if [[ ! -f /install/.nginx.lock ]]; then echo_error "This script is meant to be used in conjunction with nginx and it has not been installed. Please install nginx first and restart this installer." exit 1 fi function _LE() { if ask "Are you installing this knowing that you need a SEPERATE sub....

November 19, 2022 · 3 min · brett