CamelName's recent timeline updates
CamelName

CamelName

V2EX member #517440, joined on 2020-11-14 20:09:41 +08:00
CamelName's recent replies
Hi ,尽管是 4 年前的帖子,我最近在部署 httpd 容器也遇到类似问题,方案和你介绍的一样,也不起作用,不知道现在有没有解决办法?
过程记录: http://url.trylab.site/s-xt9EE9
Oct 7, 2024
Replied to a topic by CamelName Apache 请教下 Apache2 代理二级域名的问题
结帖,问题还是,DNS 子域名配置的问题,参考下图配置,就能成功访问了。

![success]( https://tuchuang-wangpeng.oss-cn-hangzhou.aliyuncs.com/tuchuang-wangpeng/20241007094217.png)
Oct 7, 2024
Replied to a topic by CamelName Apache 请教下 Apache2 代理二级域名的问题
@jucelin @SenLief

感谢答复,补充说明了下背景,请再看看
Oct 7, 2024
Replied to a topic by CamelName Apache 请教下 Apache2 代理二级域名的问题
Oct 6, 2024
Replied to a topic by CamelName Apache 请教下 Apache2 代理二级域名的问题
@pgup

完整参数如下:


```

<VirtualHost *:80>
ServerName sub1.example.com

# 反向代理配置
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

# 设置后端服务地址
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/

# 日志记录
ErrorLog ${APACHE_LOG_DIR}/sub1.example.com_error.log
CustomLog ${APACHE_LOG_DIR}/sub1.example.com_access.log combined
</VirtualHost>

```
Oct 6, 2024
Replied to a topic by CamelName Apache 请教下 Apache2 代理二级域名的问题
@pgup

感谢答复,以 sub1 为例(对应端口 3000 ),配置文件中的两个参数是如下配置:

ProxyPass / http://localhost:3000/

ProxyPassReverse / http://localhost:3000/
@harrisonwang

感谢分享!
按 readme 指导,在本地 compose up 提示如下:

WARN[0000] The "NEXT_PUBLIC_SUPABASE_URL" variable is not set. Defaulting to a blank string.
WARN[0000] The "NEXT_PUBLIC_SUPABASE_KEY" variable is not set. Defaulting to a blank string.

请问这两个参数含义及作用,是否需要留意?
@harrisonwang
我也蹲个 docker
请教下,应该是支持自定义域名的吧?
另,锻炼有哪些应用场景呢?
Sep 9, 2024
Replied to a topic by CamelName 商业模式 R 国做 IT 外贸,你怎么看?
@NewMoorj
👍👍
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   942 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 19:58 · PVG 03:58 · LAX 12:58 · JFK 15:58
♥ Do have faith in what you're doing.