File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Unity WebGL Configuration for Unity 2020+ for LiteSpeed Web Servers (LSWS)
1
2
# From https://github.com/JohannesDeml/UnityWebGL-LoadingTest
2
- # Unity WebGL Configuration for Unity 2020+
3
+ # For nginx or apache take a look at https://docs.unity3d.com/Manual/webgl-server-configuration-code-samples.html
3
4
# Supports Brotli and no Compression, Gzip seems to have a problem.
4
5
5
6
Header set Content-Security-Policy "worker-src 'self' blob:;"
@@ -21,7 +22,7 @@ Header set Content-Security-Policy "worker-src 'self' blob:;"
21
22
</Files >
22
23
23
24
<Files *.data.gz >
24
- AddType "application/octet-stream" data .gz
25
+ AddType "application/octet-stream" .gz
25
26
AddEncoding gzip .gz
26
27
</Files >
27
28
@@ -37,7 +38,7 @@ Header set Content-Security-Policy "worker-src 'self' blob:;"
37
38
</Files >
38
39
39
40
<Files *.data.br >
40
- AddType "application/octet-stream" data .br
41
+ AddType "application/octet-stream" .br
41
42
AddEncoding br .br
42
43
</Files >
43
44
</IfModule >
You can’t perform that action at this time.
0 commit comments