Musong 最近的时间轴更新
Musong

Musong

V2EX 第 590544 号会员,加入于 2022-08-06 18:39:51 +08:00
Musong 最近回复了
快图,简约图库,我用过的差不多十几个第三方相册全部都有显示隐藏目录(即忽略.nomedia)功能
5 天前
回复了 wanqiuyao 创建的主题 Android 安卓有没有办法读取部分相册照片
26 天前
回复了 gowl 创建的主题 分享发现 我觉得现在流行的 UI 设计似乎留白太多了
类似“ [我] 觉得现在 [流行的] UI 设计似乎留白太多了”的问题我也有很多次,每次都怀疑自己脱离大众审美了,毕竟我所怀疑的依旧流行,而我只是个体😂
37 天前
回复了 Raven762 创建的主题 游戏 pc 平台三到四个人联机玩的游戏有推荐的吗
《使命召唤®:现代战争®II 2022 》 《战争地带 2.0 》
39 天前
回复了 voidtools 创建的主题 分享发现 7 个独居孤家寡人备阳要点,求完善
电解质饮料 /冲剂 发烧出汗补一下
面包 发烧吃咸的都苦,吃面包还行,我高烧的时候炫了两箱😂
冰淇淋(不确定啊) 我高烧就吃 DQ
(阳了一周胖了 5 斤)

另外我烧到 40 的时候还是能扶墙去厕所尿尿的
千兆宽带,wifi6 ,2015 air ,双频合一默认连到 2.4 ,tx 速率 400m ,测速达不到 300m 宽带标准
分开后连 5g ,tx 速率 800m ,测速也只达到 300m 宽带。
后来我就放弃弄它了
56 天前
回复了 unt 创建的主题 程序员 小白部署 V2Ray + ws + tls
小白自用脚本

```
HOST=xxx
PORT=63196

UUID=154beaa4-3e00-4045-82a6-5a75e0dab833

# install docker
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin


# install v2ray
sudo mkdir -p /etc/v2ray/
sudo touch /etc/v2ray/config.json

sudo echo "{
\"inbounds\": [
{
\"port\": 42299,
\"protocol\": \"vmess\",
\"settings\": {
\"clients\": [
{
\"id\": \"$UUID\",
\"level\": 1,
\"alterId\": 0
}
]
},
\"streamSettings\": {
\"network\": \"ws\",
\"wsSettings\": {
\"path\": \"/tag/game_server\"
}
}
}
],
\"outbounds\": [
{
\"protocol\": \"freedom\",
\"settings\": {}
},
{
\"protocol\": \"blackhole\",
\"settings\": {},
\"tag\": \"blocked\"
}
],
\"routing\": {
\"rules\": [
{
\"type\": \"field\",
\"ip\": [
\"geoip:private\"
],
\"outboundTag\": \"blocked\"
}
]
}
}" > /etc/v2ray/config.json

sudo docker run -d --name v2ray --restart=always -v /etc/v2ray:/etc/v2ray -p 42299:42299 v2fly/v2fly-core:v4.45.2 v2ray -config=/etc/v2ray/config.json

#install ghost
sudo docker run -d --name ghost --restart=always -v /var/lib/ghost/content:/var/lib/ghost/content -e url=https://$HOST -p 2368:2368 ghost:4

#
sudo ufw disable

#install nginx
sudo snap install --classic certbot
certbot certonly --standalone -d $HOST

sudo mkdir -p /etc/nginx/
sudo touch /etc/nginx/nginx.conf
sudo echo "user nginx;
worker_processes 1;

error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
}

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

#上传文件最大限制
client_max_body_size 20m;

log_format main '\$remote_addr - \$remote_user [\$time_local] \"\$request\" '
'\$status \$body_bytes_sent \"\$http_referer\" '
'\"\$http_user_agent\" \"\$http_x_forwarded_for\"';

access_log /var/log/nginx/access.log main;

sendfile on;
#tcp_nopush on;

keepalive_timeout 65;

#gzip on;

include /etc/nginx/conf.d/*.conf;

server {
listen $PORT ssl http2;

server_name $HOST;
charset utf-8;

ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;
ssl_ecdh_curve secp384r1;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
ssl_session_tickets off;
ssl_certificate /etc/letsencrypt/live/$HOST/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/$HOST/privkey.pem;

access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;

root /usr/share/nginx/html/www;

# ghost 转发配置
location / {
proxy_pass http://ghost:2368;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header Host \$http_host;
proxy_set_header X-Forwarded-Proto \$scheme;
}

location /tag/game_server {
proxy_redirect off;
proxy_pass http://v2ray:42299;
proxy_http_version 1.1;
proxy_set_header Upgrade \$http_upgrade;
proxy_set_header Connection \"upgrade\";
proxy_set_header Host \$HOST;
# Show real IP in v2ray access.log
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
}
}
}" > /etc/nginx/nginx.conf


sudo docker run -d --name nginx -p $PORT:$PORT --link v2ray --link ghost -v /etc/nginx/nginx.conf:/etc/nginx/nginx.conf -v /etc/letsencrypt:/etc/letsencrypt -v /var/log/nginx:/var/log/nginx nginx:1.19.4


```
@AoEiuV020CN #8 你给他伤的很深啊
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   广告投放   ·   实用小工具   ·   1416 人在线   最高记录 5497   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms · UTC 05:03 · PVG 13:03 · LAX 21:03 · JFK 00:03
Developed with CodeLauncher
♥ Do have faith in what you're doing.