cnit's recent timeline updates
cnit

cnit

nexior
🏢  nexior / coo
V2EX member #144434, joined on 2015-10-26 19:47:03 +08:00
I'm a tech enthusiast with a passion for artificial intelligence. I love exploring new AI technologies and working on innovative projects.
我也来送 GPT-4 和 Midjourney fast,不限时!
分享发现  •  cnit  •  Jun 17, 2024  •  Lastly replied by cnit
1
来推荐推荐确定可用的 Midjourney API 开源项目
程序员  •  cnit  •  Jul 13, 2024  •  Lastly replied by dwyu
1
如何限制只允许内网访问
NGINX  •  cnit  •  Dec 12, 2023  •  Lastly replied by cnit
13
可能是最简单的 GPT code review
分享发现  •  cnit  •  Aug 25, 2023  •  Lastly replied by Cheez
1
V2EX 可以直接像 github 一样粘贴图片了!
分享创造  •  cnit  •  Jun 28, 2023  •  Lastly replied by tool2d
5
v2ex-pusher 新消息通知
分享创造  •  cnit  •  May 19, 2023  •  Lastly replied by bitkuang8
1
用完即走的 pastebin 支持 txt,html markdown
分享创造  •  cnit  •  Nov 26, 2022  •  Lastly replied by cnit
7
cnit's recent replies
Jun 17, 2024
Replied to a topic by cnit 分享发现 我也来送 GPT-4 和 Midjourney fast,不限时!
补充一个前端和开源地址
https://ai.morecale.com
https://github.com/acedatacloud/nexior
一键部署属于你的 AI 应用站点,包括 GPT 问答、Midjourney 绘画、文档问答、艺术二维码等应用,并轻松赚取收益。
Jun 12, 2024
Replied to a topic by changdy Electron 再也不说 electron 是个邪恶的技术了
Jun 7, 2024
Replied to a topic by Nnq Java 通过 API 描述生成 Java 代码工具
阿里云有个 darabonda 支持 swagger 2.0 自动生成,我们常用的阿里系 SDK 好像都是这个玩意生成的。我的做法是用 smart-doc 生成 openapi 然后转成 swagger ,再用 darabonda-swagger 生成代码( go,java,ts,python...),测试时发现存在路径参数的时候会报错生成失败,不知道 swagger 侵入注解式生成的是咋样的
Jun 7, 2024
Replied to a topic by bellx Java mybatis plus 查代码问题
MetaObjectHandler#insertFill 或者拦截器里面都可以
Apr 1, 2024
Replied to a topic by ivmm 分享发现 分享一个免费企业信息查询的平台
输入 xxx 得到 您的操作过于频繁,请稍后再试
pdd 仿版 airtag

31gps
Dec 12, 2023
Replied to a topic by 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
Dec 11, 2023
Replied to a topic by cnit NGINX 如何限制只允许内网访问
@NessajCN 没有这个 sites-enabled 配置的

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


现在看日志,不管是内部还是外部流量,access.log 都是 192.168.0.1 ,感觉是防火墙上转发一层
Dec 11, 2023
Replied to a topic by cnit NGINX 如何限制只允许内网访问
应该是 192.168.0.1 这个问题了 手机用 5G 流量访问也是这个
Dec 11, 2023
Replied to a topic by 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 要完全退出在再启动,实际测试依然无效
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3729 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms · UTC 10:42 · PVG 18:42 · LAX 03:42 · JFK 06:42
♥ Do have faith in what you're doing.