DigitialOcean Nginx Website Setup ( Virtual Hosts )
These are the configuration files for an Ubuntu 20.04 Droplet on Ubuntu. The end results is a custom Nginx Server with HTTP2 & SSL Certificates for each website on a droplet.
from __future__ import division # allows floating point division from integers | |
from FreeCAD import Base | |
import Part | |
import math | |
# Run this macro to create a generic project enclosure box | |
# You can change all the parameters by selecting the object in the tree view and tweaking values in the "Data" tab | |
# Possible additions/improvements | |
# counterbore bridging .4mm |
These are the configuration files for an Ubuntu 20.04 Droplet on Ubuntu. The end results is a custom Nginx Server with HTTP2 & SSL Certificates for each website on a droplet.
For some reason, sometimes Let's Encrypt just has a hard time renewing SSL certificates and you might need to recreate them. Here is the process I take to get things back up and running fairly quickly with Digital Ocean Nginx Servers.
Change to Let's Encrypt directory: