scrapy / scrapyd

A service daemon to run Scrapy spiders
https://scrapyd.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
2.92k stars 569 forks source link

Add reverse proxy support for web interface #480

Closed TecIntelli closed 1 year ago

TecIntelli commented 1 year ago

I have written a small patch to use the Scrapyd web interface behind a reverse proxy with application specific base-path. The path would be passed by a custom proxy header.

I have just modified the website.py and added a line to the default_scrapyd.conf. Of course I have also added some notes to the docs file config.rst.

What might be the easiest way to provide my tested patched files? Just open a pull request from a fork?

jpmckinney commented 1 year ago

Yes, a pull request from a fork would be easiest. Thank you for your contribution!