aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wok/alpine-specific-wokd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/wok/alpine-specific-wokd.patch')
-rw-r--r--testing/wok/alpine-specific-wokd.patch29
1 files changed, 8 insertions, 21 deletions
diff --git a/testing/wok/alpine-specific-wokd.patch b/testing/wok/alpine-specific-wokd.patch
index 5f9599c3ec..b2cccedf65 100644
--- a/testing/wok/alpine-specific-wokd.patch
+++ b/testing/wok/alpine-specific-wokd.patch
@@ -1,27 +1,14 @@
-diff --git a/src/nginx/wok.conf.in b/src/nginx/wok.conf.in
-index 512b00b..116fce9 100644
---- a/src/nginx/wok.conf.in
-+++ b/src/nginx/wok.conf.in
-@@ -22,7 +22,8 @@
- # This is a template file to be used to generate a nginx
- # proxy config file at wokd script.
+diff --git a/src/nginx/wok.conf b/src/nginx/wok.conf
+index 7fadf38..560d956 100644
+--- a/src/nginx/wok.conf
++++ b/src/nginx/wok.conf
+@@ -3,7 +3,8 @@
+ # If you need to change it for any reason, please, validate /etc/wok/wok.conf
+ #
--client_max_body_size ${max_body_size}k;
+-client_max_body_size 4194304k;
+#Check nginx.conf which already have this directive
+#client_max_body_size ${max_body_size}k;
# Set timeout, based on configuration values, to avoid the 504 Gateway Timeout
# when Wok is processing a request.
-diff --git a/src/wok/proxy.py b/src/wok/proxy.py
-index 4b06fc2..15c1f8c 100644
---- a/src/wok/proxy.py
-+++ b/src/wok/proxy.py
-@@ -130,7 +130,7 @@ def start_proxy(options):
- """Start nginx reverse proxy."""
- _create_proxy_config(options)
- # Restart system's nginx service to reload wok configuration
-- cmd = ['systemctl', 'restart', 'nginx.service']
-+ cmd = ['rc-service', 'nginx', 'restart']
- output, error, retcode = run_command(cmd, silent=True)
- if retcode != 0:
- raise OperationFailed('WOKPROXY0001E', {'error': error})