Let's say you want to host domains first.com and second.com.
Create folders for their files:
| # Serve nextJS app from a port through NGINX reverse proxy (HTTP) | |
| # Path: /etc/nginx/sites-available/default | |
| # Default server configuration for HTTP | |
| server { | |
| server_name www.DOMAINNAME.com DOMAINNAME.com; | |
| # Serve any static assets with NGINX | |
| location /_next/static { | |
| alias /home/ubuntu/PROJECT_FOLDER/.next/static; |
| # Connect to a WPA2 Enterprise network with wpa_supplicant with this .conf file. | |
| # I used this to connect to my university's wireless network on Arch linux. | |
| # Here's the command I used: | |
| # | |
| # wpa_supplicant -i wlan0 -c ./wpa_supplicant.conf | |
| # | |
| network={ | |
| ssid="YOUR_SSID" | |
| scan_ssid=1 |
I am no Virgil, but having stumbled my way through Python packaging a few times already, I'm documenting the things I learn as I go here.
To help me learn, I took a survey of the top 15 Python packages on Github along with 12 other commonly referenced packages. I thought... if there are any best