mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Allow UDS behind a proxy
This commit is contained in:
parent
6b5f9d266d
commit
09f329db62
@ -110,10 +110,6 @@ class GlobalRequestMiddleware(object):
|
||||
request.ip_proxy = request.ip
|
||||
request.is_proxy = False
|
||||
|
||||
# Always honor proxy if we are behind a proxy
|
||||
if GlobalConfig.BEHIND_PROXY.getBool(False) is True:
|
||||
request.ip = request.ip_proxy
|
||||
|
||||
@staticmethod
|
||||
def getUser(request):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user