This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# WARNING: Use at your own risk. Test carefully before applying in production. | |
# THIS SCRIPT WAS UPDATED FROM THE ORIGINAL USING CHATGPT! | |
# IT worked on a DS920+ as of 19th May 25. | |
# Updated for DSM 7.2.2 compatibility. | |
# This script will attempt to free up ports 80 and 443 used by the built-in nginx. | |
HTTP_PORT=81 | |
HTTPS_PORT=444 |