Skip to content

Instantly share code, notes, and snippets.

View megrxu's full-sized avatar
🥝
Learning

megrxu

🥝
Learning
View GitHub Profile
@megrxu
megrxu / site.conf
Created July 26, 2017 00:50 — forked from XiangpengHao/site.conf
A simple Nginx config template
server{
listen 80;
server_name file.zjuqsc.com;
return 301 https://$host$request_uri;
}
server {
listen 12081;
listen 443 ssl http2;
server_name file.zjuqsc.com;
ssl_certificate /srv/ssl/file.zjuqsc.com.crt;