|
пре 8 месеци | |
---|---|---|
.drone.yml | пре 8 месеци | |
Dockerfile | пре 9 месеци | |
Dockerfile-v1 | пре 4 година | |
Dockerfile-v1base | пре 5 година | |
Dockerfile-v3base | пре 4 година | |
README.md | пре 2 година | |
cluster-default.xml | пре 5 година | |
configmap.json | пре 5 година | |
deploy-tmp-v2.yaml | пре 4 година | |
deploy-tmp.yaml | пре 2 година | |
entrypoint.sh | пре 2 година | |
flume.conf | пре 9 месеци | |
flume_start.sh | пре 5 година | |
ingress.yaml | пре 2 година | |
ppctl.py | пре 5 година | |
release | пре 8 месеци | |
resin.conf | пре 4 година | |
resin.properties | пре 5 година | |
supervisord.conf | пре 4 година | |
tools.py | пре 4 година |
小说触版resin服务基础镜像
1. flume1.7+resin4
2. 20200604:安装supervisord
3. 重置基础镜像,tag:v1base
4. 20201022:重置基础镜像,tag:v3base,修改flume配置
5. update
6. ci切换到drone2.ieasou.cn
7. 升级community-user包
8. 升级vip包
9. 第三方登录屏蔽
k8s ingress-nginx获取用户IP默认是通过$remote_addr参数,nginx.conf中配置如下:
proxy_set_header X-Forwarded-For $remote_addr;
但是,如果用户通过代理或使用waf转发请求的话,上面这种方式是无法拿到用户的真实IP。因此,就需要k8s中添加下面的配置获取真实IP。
1、在ConfigMaps的ngress-nginx-controller中添加下面的配置:
data:
compute-full-forwarded-for: 'true'
use-forwarded-headers: 'true'
2、在Ingresses找到对应项目的Ingress配置,添加如下内容:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
kubectl create secret tls appeasou-com --cert book.appeasou.com.pem --key book.appeasou.com.key -n pro
说明:
appeasou-com: secrets中自定义的证书name。
-n:指定命名空间。