You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
GitLab的启动参数如下(docker-compose.yml):
除上面的设置外,其他设置使用GitLab默认,GitLab版本是14.6.1
然后WAF上的反向代理配置如下:
域名:my-domain
端口:10000
类型:代理一个已有的网站
证书:选择上传的证书
上游服务器:http://localhost:1000
保存提交后访问:https://my-domain:10000
访问不到,浏览器自动重定向会变成:https://my-domain 端口号丢失了
如果手工访问:https://my-domain:10000/users/sign_in 则可以打开登录界面
WAF站点全局设置:
SSL协议:TLSv1.2
为上游服务器传递 X-Forwarded-Host、 X-Forwarded-Proto:启用
支持 GZip 压缩:启用
支持 Brotli 压缩:启用
请问有没有办法能解决端口号丢失的问题?有人做过类似的场景吗?谢谢
Beta Was this translation helpful? Give feedback.
All reactions