Skip to content

Instantly share code, notes, and snippets.

View flo-mic's full-sized avatar

Florian Michel flo-mic

View GitHub Profile
@flo-mic
flo-mic / free_ports.sh
Created November 15, 2021 14:03 — forked from hjbotha/free_ports.sh
Free ports 80 and 443 on Synology NAS
#! /bin/bash
# NEWLY ADDED BACKUP FUNCTIONALITY IS NOT FULLY TESTED YET, USE WITH CARE, ESPECIALLY DELETION
# Developed for DSM 6. Not tested on other versions.
# Steps to install
# Save this script in one of your shares
# Backup /usr/syno/share/nginx/ as follows:
# # cd /usr/syno/share/
# # tar cvf ~/nginx.tar nginx
# Run this script as root