summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/virtual_host.cfg.lua.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2
index 2051c92..a5ab87e 100644
--- a/files/virtual_host.cfg.lua.j2
+++ b/files/virtual_host.cfg.lua.j2
@@ -72,6 +72,14 @@ Component "upload.{{ virtual_host }}" "http_file_share"
http_file_share_size_limit = 300 * 1024 * 1024
http_file_share_global_quota = 5 * 1024 * 1024 * 1024
+{% if is_transport_server %}
+http_file_share_access = {
+{% for transport in transports %}
+ "{{ transport.subdomain }}.{{ virtual_host }}";
+{% endfor %}
+}
+{% endif %}
+
Component "proxy.{{ virtual_host }}" "proxy65"
{% if delegate_prefix == "" %}