Skip to content

Instantly share code, notes, and snippets.

View drthilina's full-sized avatar

Thilina drthilina

View GitHub Profile
@drthilina
drthilina / nginx-thingsboard
Created July 9, 2025 03:40 — forked from mfalkvidd/nginx-thingsboard
Thingsboard nginx reverse proxy with websocket and HTTPS support (Let's Encrypt)
server {
listen 80;
server_name EXTERNAL_THINGSBOARD_DOMAIN.com;
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
}
server {
@drthilina
drthilina / 1_erpnext13_public.sh
Last active September 5, 2024 18:46
Install ERPNext V13 on Ubuntu 20.04 LTS || Production
Install ERPNext V13, FRAPPE-BENCH 13 on Ubuntu 20.04 and configure for production Environment
# Install GIT
$ apt install -y git
# Ubuntu update and upgrade packages
$ apt update -y && apt upgrade -y
# Install Python 3.8 and dependencies