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 {