Skip to content

Instantly share code, notes, and snippets.

View t404's full-sized avatar
💭
I may be slow to respond.

涂鹏 t404

💭
I may be slow to respond.
  • Wuhan,Hubei Province.China
View GitHub Profile
@nrollr
nrollr / nginx.conf
Last active October 23, 2024 00:49
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