summaryrefslogtreecommitdiff
path: root/proxyfix.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-29 07:00:41 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-29 07:00:41 +0000
commitb573e6ee121e300aa291f081347862bbf8cc063b (patch)
tree8810a59604e3f93d4bc498337bafc1a829137688 /proxyfix.patch
parent5a3dc1b16d1a6ee44c5795b024c7dd54f77b3814 (diff)
automatic import of copr-frontendopeneuler24.03_LTS_SP1
Diffstat (limited to 'proxyfix.patch')
-rw-r--r--proxyfix.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/proxyfix.patch b/proxyfix.patch
deleted file mode 100644
index 331d121..0000000
--- a/proxyfix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/coprs_frontend/application b/coprs_frontend/application
-index 753add041..2a8d28ded 100644
---- a/coprs_frontend/application
-+++ b/coprs_frontend/application
-@@ -9,6 +9,14 @@ os.environ["COPRS_ENVIRON_PRODUCTION"] = "1"
- sys.path.insert(0, os.path.dirname(__file__))
-
- from coprs import app
-+from werkzeug.middleware.proxy_fix import ProxyFix
-+
-+app.wsgi_app = ProxyFix(
-+ app.wsgi_app, x_for=1, x_proto=1, x_host=1, x_prefix=1
-+)
-+
-+from werkzeug import Request
-+Request.max_form_parts = 5000 # fix /rebuild-all failed when submitted more than 1000 packages
-
- if app.debug:
- from werkzeug.debug import DebuggedApplication