mirror of
https://github.com/wassname/flask-security.git
synced 2026-06-27 16:10:11 +08:00
923ad720a1
From the nginx docs: http://nginx.org/en/docs/http/ngx_http_proxy_module.html > $proxy_add_x_forwarded_for > the “X-Forwarded-For” client request header field with the $remote_addr > variable appended to it, separated by a comma. If the “X-Forwarded-For” > field is not present in the client request header, the > $proxy_add_x_forwarded_for variable is equal to the $remote_addr > variable. Use the last IP address in X-Forwarded-For. For this to work properly behind a trusted proxy, you must be using ProxyFix as described in the flask & werkzeug documentation.
45 lines
362 B
Plaintext
45 lines
362 B
Plaintext
*.py[co]
|
|
|
|
# Packages
|
|
*.egg
|
|
*.egg-info
|
|
dist
|
|
*build
|
|
eggs
|
|
parts
|
|
bin
|
|
var
|
|
sdist
|
|
develop-eggs
|
|
.installed.cfg
|
|
|
|
# Installer logs
|
|
pip-log.txt
|
|
|
|
# Unit test / coverage reports
|
|
.coverage
|
|
.tox
|
|
|
|
#Translations
|
|
*.mo
|
|
|
|
#Mr Developer
|
|
.mr.developer.cfg
|
|
|
|
#Virtualenv
|
|
env/
|
|
|
|
#Editor temporaries
|
|
*~
|
|
|
|
*.db
|
|
*cache*
|
|
|
|
# vim
|
|
[._]*.s[a-w][a-z]
|
|
[._]s[a-w][a-z]
|
|
*.un~
|
|
Session.vim
|
|
.netrwhist
|
|
*~
|