Skip to content

Instantly share code, notes, and snippets.

View rfns's full-sized avatar
💭
Improving myself

Rubens F. rfns

💭
Improving myself
  • South Jaragua, St. Catarina
View GitHub Profile
@rfns
rfns / nginx.conf
Created December 4, 2023 12:05 — 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