반응형
# httpd.conf in WEB GL =================================
<IfModule mod_mime.c>
# The following lines are required for builds without decompression fallback, compressed with gzip
RemoveType .gz
AddEncoding gzip .gz
AddType application/octet-stream .data.gz
AddType application/wasm .wasm.gz
AddType application/javascript .js.gz
AddType application/octet-stream .symbols.json.gz
# The following lines are required for builds without decompression fallback, compressed with Brotli
RemoveType .br
RemoveLanguage .br
AddEncoding br .br
AddType application/octet-stream .data.br
AddType application/wasm .wasm.br
AddType application/javascript .js.br
AddType application/octet-stream .symbols.json.br
# The following line improves loading performance for uncompressed builds
AddType application/wasm .wasm
# Uncomment the following line to improve loading performance for gzip-compressed builds with decompression fallback
# AddEncoding gzip .unityweb
# Uncomment the following line to improve loading performance for brotli-compressed builds with decompression fallback
# AddEncoding br .unityweb
</IfModule>
위 내용은 httpd.conf 파일에 보기 좋은 위치에 잘 넣으면 됨.
혹시라도 TOMCAT(WAS서버)가 존재하는 경우
# vhost in setting
# =================================
JkUnMount /*.wasm homepage
JkUnMount /*.gz homepage
wasm과 gz를 JkUnMount를 해주어 WEB서버가 처리를 할 수 있도록 하여야한다.
끝
'Server' 카테고리의 다른 글
Apache Tomcat의 원격코드실행 취약점(CVE-2020-1938) (0) | 2021.12.31 |
---|---|
외부 특정 IP에 SSH 열기 (0) | 2021.12.30 |
CentOS 6.X 버전 yum update error (0) | 2021.12.30 |
AIX 서버 CPU/MEMORY/HDD 조회 (0) | 2021.12.30 |
JEUS 서버 스펙 조회하기 (0) | 2021.12.30 |
댓글