File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,8 @@ RUN rm -rf /var/cache/apk/* && \
130
130
tools/extension_installer XSendFileContrib -r -enable install && \
131
131
tools/configure -save -set {Plugins}{AutoViewTemplatePlugin}{Enabled}='0' && \
132
132
tools/configure -save -set {Plugins}{LdapNgPlugin}{Enabled}='0' && \
133
- tools/configure -save -set {Plugins}{SamlLoginContrib}{Enabled}='0' && \
133
+ tools/configure -save -set {XSendFileContrib}{Header}='X-Accel-Redirect' && \
134
+ tools/configure -save -set {XSendFileContrib}{Location}='/files' && \
134
135
rm -fr /var/www/foswiki/working/configure/download/* && \
135
136
rm -fr /var/www/foswiki/working/configure/backup/* && \
136
137
mkdir -p /run/nginx && \
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ server {
39
39
}
40
40
41
41
# static files that we don't need to authenticate, i.e. css and js
42
- location ~ ^/pub/(System|Applications|cache)/ {
42
+ location ~ ^/pub/(System|Applications|images| cache)/ {
43
43
root $foswiki_root;
44
44
expires 8h;
45
45
gzip_static on;
You can’t perform that action at this time.
0 commit comments