.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
Classes
|
Functions
searx.flaskfix Namespace Reference
Classes
class
ReverseProxyPathFix
Functions
patch_application
(app)
Function Documentation
◆
patch_application()
searx.flaskfix.patch_application
(
app
)
Definition at line
73
of file
flaskfix.py
.
73
def
patch_application(app):
74
# serve pages with HTTP/1.1
75
WSGIRequestHandler.protocol_version =
"HTTP/{}"
.format(settings[
'server'
][
'http_protocol_version'
])
76
# patch app to handle non root url-s behind proxy & wsgi
77
app.wsgi_app = ReverseProxyPathFix(ProxyFix(app.wsgi_app))
References
searx.format
.
searx
flaskfix
Generated on Sat Nov 16 2024 00:10:58 for .oO SearXNG Developer Documentation Oo. by
1.12.0