You don't want to looking for information anymore. You want to setup a SSL certificate and a reverse proxy nginx. This tool is made for you !!
- Install git
sudo apt install git
- An address valid email
- Your own domain name
- Add entry A/AAAA for your wanted subdomain
- A FoundryVTT licence already installed
Open a terminal console
Copy these 3 commands
cd
git clone https://github.com/prolice/SSL-AutomationScript.git
./SSL-AutomationScript/scripts/global/install_prolice.sh
*What is the purpose of these commands
- Go to your home folder
- Get scripts and depends
- Launch the script
Don't use before the third command
Done !