-
Notifications
You must be signed in to change notification settings - Fork 3
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
Allow passing trusted subnets #7
Conversation
wsgi_mod_rpaf.py
Outdated
@@ -23,27 +22,30 @@ def text_to_wsgi(s): | |||
return s | |||
|
|||
|
|||
PROXY_IPS_DIRECTIVE = 'RPAFproxy_ips ' | |||
def from_apache_config(f, directive='RPAFproxy_ips'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
err, this should probably be changed to take a path rather than a file-like object
7e81337
to
7a3f678
Compare
Makefile
Outdated
|
||
.PHONY: tests test | ||
tests: test | ||
test: .venv.touch | ||
test: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can probably get rid of tests: test
while you're at it
.PHONY: clean | ||
clean: | ||
find . -iname '*.pyc' -delete | ||
find . -name '*.pyc' -delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you don't care about bsd, can do find -name '*.pyc' -delete
|
||
```python | ||
import ipaddress | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably also have the from wsgi_mod_rpaf ...
import here too
Fixes #6