brysontyrrell / PatchServer

A self-hosted implementation of an external patch source for Jamf Pro 10.2+
http://patchserver.readthedocs.io/en/latest/
MIT License
67 stars 13 forks source link

Proxy Support #31

Closed brysontyrrell closed 4 years ago

brysontyrrell commented 4 years ago

This update provides a solution for #28 - When running Patch Server behind a reverse proxy (Nginx, Apache, etc.) redirects using urls generated by flask.url_for can revert to the http scheme and drop the secure connection.

If the proxy is configured to pass the X-Forwarded-For and X-Forwarded-Proto headers, proxy support on Patch Server can be enabled via the ENABLE_PROXY_SUPPORT environment variable. See the Docker Usage doc for more info.

This doc also contains a documentation update. Sphinx is being dropped in favor of markdown files for reading directly on GitHub without having to navigate away.