File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 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)
12# 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
34# Supports Brotli and no Compression, Gzip seems to have a problem.
45
56Header set Content-Security-Policy "worker-src 'self' blob:;"
@@ -21,7 +22,7 @@ Header set Content-Security-Policy "worker-src 'self' blob:;"
2122 </Files >
2223
2324 <Files *.data.gz >
24- AddType "application/octet-stream" data .gz
25+ AddType "application/octet-stream" .gz
2526 AddEncoding gzip .gz
2627 </Files >
2728
@@ -37,7 +38,7 @@ Header set Content-Security-Policy "worker-src 'self' blob:;"
3738 </Files >
3839
3940 <Files *.data.br >
40- AddType "application/octet-stream" data .br
41+ AddType "application/octet-stream" .br
4142 AddEncoding br .br
4243 </Files >
4344</IfModule >
You can’t perform that action at this time.
0 commit comments