V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  cnit  ›  全部回复第 1 页 / 共 8 页
回复总数  150
1  2  3  4  5  6  7  8  
pdd 仿版 airtag

31gps
107 天前
回复了 cnit 创建的主题 NGINX 如何限制只允许内网访问
各位 ,问题出在防火墙上,外部流量进来的时候被 192.168.0.1 给代理了,导致在应用侧收到的访问 ip 都是 192.168.0.1
```
location /ip {
default_type text/plain;
return 200 $remote_addr;
}
```


让网关同事联系了深信服,处理方案类似于

https://bbs.sangfor.com.cn/forum.php?mod=viewthread&tid=10516

https://bbs.sangfor.com.cn/forum.php?mod=viewthread&tid=10516
108 天前
回复了 cnit 创建的主题 NGINX 如何限制只允许内网访问
@NessajCN 没有这个 sites-enabled 配置的

@ondeay 这个我之前试过 ,无效


现在看日志,不管是内部还是外部流量,access.log 都是 192.168.0.1 ,感觉是防火墙上转发一层
108 天前
回复了 cnit 创建的主题 NGINX 如何限制只允许内网访问
应该是 192.168.0.1 这个问题了 手机用 5G 流量访问也是这个
108 天前
回复了 cnit 创建的主题 NGINX 如何限制只允许内网访问
@InDom


192.168.0.1 - [11/Dec/2023:17:43:13 +0800] "GET / HTTP/1.1" status.example.com 200 200 2012 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" - - 192.168.1.167:3001 0.031 0.031

日志是这样的

@NessajCN

这样的我试过,还说不能 reload 要完全退出在再启动,实际测试依然无效
1.将屏幕锁定时间修改成永不或者 5 分钟
2.将省点模式设定为日常模式
3.创建自动化,在连接蓝牙的时候关闭省电模式

参考 https://zhongce.sina.com.cn/article/view/124394/
129 天前
回复了 woooooOOOO 创建的主题 分享创造 一次性临时邮箱,可收可发
支持一下
https://github.com/ishare20/lemonPush/pull/6

这个 fature 可以在你按下 Ctrl + c 的时候读取到剪贴板文件 然后 通过 hook.js 调用任意第三方渠道发到手机上,

function hook(filepaths,text) {

const chanifyToken = ""

const url = `https://example.com/v1/sender/${chanifyToken}`  

if(!filepaths && !text){
return
}

if(filepaths.length>0){
const result = []
for (const filepath of filepaths){
const r = upload(url,{
FilePath:filepath
})
result.push(r)

}
return result
}else{
return post(url,"text/plain",text)
}

}
https://logo-maker.freelogodesign.org/

document.getElementById('watermark').remove()
238 天前
回复了 Hanbuger 创建的主题 程序员 github GPT
238 天前
回复了 ShuaiYH 创建的主题 分享创造 Zeabur - 帮助开发者一键部署服务
@ShuaiYH 日志问日并没有修复, 同样的仓库,别家正常
https://i.imgur.com/VlrGGBf.png

https://i.imgur.com/O8c85ea.png
240 天前
回复了 ShuaiYH 创建的主题 分享创造 Zeabur - 帮助开发者一键部署服务
为什么有些容器 `RUNING` 运行日志不打印的
还有的提示 `CRASHED` 但实际还在运行,也是没日志
https://i.imgur.com/gPUdH0c.png
274 天前
回复了 cnit 创建的主题 分享创造 V2EX 可以直接像 github 一样粘贴图片了!
@superchijinpeng 是你在 Ctrl+v 的时候直接读取剪贴板里的图片自动上传到 imgur , 然后粘贴 imgur 地址在当前光标的下一行
curl -X 'POST' \
'https://gpt4.anysign.xyz/v1/completions' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-4",
"max_tokens": 0,
"temperature": 0,
"prompt": "你是谁",
"stream": false
}'
https://imgur.com/pQFDFic
https://imgur.com/9JQhRuD
出这个源码,有人要不 https://i.imgur.com/xgNoo8x.png
我把 chrome 换成 edeg 可以了
1  2  3  4  5  6  7  8  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3132 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms · UTC 12:59 · PVG 20:59 · LAX 05:59 · JFK 08:59
Developed with CodeLauncher
♥ Do have faith in what you're doing.