Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

View SrVariable's full-sized avatar
🦔
Doing magic

Rojohn SrVariable

🦔
Doing magic
View GitHub Profile
@SrVariable
SrVariable / nginx.conf
Created January 20, 2026 14:16 — forked from nrollr/nginx.conf
NGINX config for SSL with Let's Encrypt certs
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration