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

[feature request] log x-forwarded-for header #6

Open
helmut72 opened this issue Aug 9, 2022 · 2 comments
Open

[feature request] log x-forwarded-for header #6

helmut72 opened this issue Aug 9, 2022 · 2 comments

Comments

@helmut72
Copy link

helmut72 commented Aug 9, 2022

I'm using a reverse proxy in front of scraply to use scraply (and all other webapps) with SSL. Please log x-forwarded-for header instead of the requesting ip if the header exists or add an option to enable/disable it. Thank you.

@alash3al
Copy link
Owner

alash3al commented Aug 9, 2022

for logging, do you mean the scraply serve stdout logging?
if yes, ok will check it and plan for it.

@helmut72
Copy link
Author

helmut72 commented Aug 9, 2022

Yes, for logging when scraply serve is running and log to stdout. Now it shows me the IP of my reverse proxy:

21:31:44 | 200 |   684ms |      172.18.0.1 | POST    | /extract 

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

No branches or pull requests

2 participants