Skip to content

Instantly share code, notes, and snippets.

View hwdsl2's full-sized avatar

Lin Song hwdsl2

View GitHub Profile
@hwdsl2
hwdsl2 / nginx.conf
Last active June 10, 2021 23:05
Actual nginx.conf for Lin's Tech Blog (http://blog.ls20.com - click for tutorial). Published with Ghost, Nginx and ModSecurity
user nginx;
# Set this to match the number of CPU cores
worker_processes 2;
events { worker_connections 1024; }
http {
server_names_hash_bucket_size 64;
types_hash_max_size 2048;
server_tokens off;
include mime.types;
default_type application/octet-stream;
@hwdsl2
hwdsl2 / .MOVED.md
Last active May 4, 2024 03:20
IPsec VPN Server Auto Setup Script for CentOS and RHEL