xuexb's recent timeline updates
xuexb

xuexb

爱前端,爱生活
🏢  前端开发工程师
V2EX member #59221, joined on 2014-03-28 16:02:39 +08:00
xuexb's recent replies
111 STRK ,感谢老哥~
Nov 22, 2023
Replied to a topic by tidezyc Android 有人遇到了 1password 无法显示内容都问题吗
小米澎湃 OS+1
挂梯子可以访问,否则就要等空白老一会才行
我也遇到这个问题了,使用以下方向解决:

```nginx
# 30x 重定向不缓存
error_page 301 302 307 = @redirect_nocache;
location @redirect_nocache {
add_header Cache-Control 'no-store';
return 302 $upstream_http_location;
}

location @nodejs {
proxy_pass http://nodejs$request_uri;
proxy_intercept_errors on; # 重要
...


# 后台页页不加缓存
if ($uri !~* ^/admin/) {
add_header Cache-Control 'max-age=600, s-maxage=604800';
}
if ($uri ~* ^/admin(/|/.*)?$) {
add_header Cache-Control 'no-store';
}
}
```
顶~ 上次回题主时我还在 K1,现在哈哈哈。。看到加分项,终于感觉没事学学 ELK 有用。。。
虽然暂不考虑,但冲着 8 核 32G 27 寸 Retina Mac 也给你们顶顶。。。
我也遇到这个问题了,场景是需要 SSH 登录到容器里去部署代码、启动服务,而我配置了个环境变量用来区分当前是哪个环境 ENV_LABEL,发现也没生效,然后使用了在 Dockerfile 入口文件里去向 ~/.bashrc 里写入 export 变量,如: https://github.com/xuexb/DevOps/blob/8f902cb8c4d6c682b2085a657965e625ef958091/jenkins-node/node/env.sh
Sep 14, 2017
Replied to a topic by jimxu16 程序员 sublime 更新啦
终于...
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5288 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms · UTC 09:12 · PVG 17:12 · LAX 02:12 · JFK 05:12
♥ Do have faith in what you're doing.