Skip to content

Instantly share code, notes, and snippets.

View hj24's full-sized avatar
🎯
Focusing

hj24 hj24

🎯
Focusing
View GitHub Profile
@caiofilipini
caiofilipini / maxconn.go
Created November 15, 2019 21:08
Go (golang) HTTP server with a simple connection limiter (max conn)
package main
import (
"context"
"flag"
"log"
"net"
"net/http"
"os"
"os/signal"
@ifels
ifels / centos6.5_nginx
Last active September 7, 2023 01:57
centos 6.5 nginx安装与配置
第一步,在/etc/yum.repos.d/目录下创建一个源配置文件nginx.repo:
cd /etc/yum.repos.d/
vim nginx.repo
填写如下内容:
[nginx]
name=nginx repo