Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复unix下日志客户端ip为空,添加配置项设置从哪个header获取 #1314

Merged
merged 1 commit into from
May 24, 2022

Conversation

WeidiDeng
Copy link
Member

cloudreve监听unix时日志中客户端ip为空,添加选择项从哪个header获取,默认为"X-Forwarded-For"

@codecov
Copy link

codecov bot commented May 23, 2022

Codecov Report

Merging #1314 (545c3b2) into master (fb56b27) will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1314      +/-   ##
==========================================
+ Coverage   89.33%   89.42%   +0.08%     
==========================================
  Files          95       95              
  Lines        8273     8273              
==========================================
+ Hits         7391     7398       +7     
+ Misses        721      716       -5     
+ Partials      161      159       -2     
Impacted Files Coverage Δ
pkg/conf/conf.go 72.72% <ø> (ø)
pkg/filesystem/upload.go 69.00% <0.00%> (-2.93%) ⬇️
pkg/mq/mq.go 95.58% <0.00%> (+1.47%) ⬆️
pkg/cluster/pool.go 94.82% <0.00%> (+9.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fb56b27...545c3b2. Read the comment docs.

@HFO4 HFO4 merged commit 36b3101 into master May 24, 2022
@HFO4 HFO4 deleted the unix-remote-ip branch May 24, 2022 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants