반응형
<VirtualHost *:80>
ProxyPreserveHost On
# Servers to proxy the connection, or;
# List of application servers:
# Usage:
# ProxyPass / http://[IP Addr.]:[port]/
# ProxyPassReverse / http://[IP Addr.]:[port]/
# Example:
ProxyPass / http://192.168.0.101:80/
ProxyPassReverse / http://192.168.0.101:80/
ServerName nas.coo.gg
</VirtualHost>
<VirtualHost *:80>
ProxyPreserveHost On
# Servers to proxy the connection, or;
# List of application servers:
# Usage:
# ProxyPass / http://[IP Addr.]:[port]/
# ProxyPassReverse / http://[IP Addr.]:[port]/
# Example:
ProxyPass / http://192.168.0.102:80/
ProxyPassReverse / http://192.168.0.102:80/
ServerName file.coo.gg
</VirtualHost>
응용 하면 www1.abc.com => 192.168.0.101 , www2.abc.com => 192.168.0.102 형태로 사용이 가능합니다.
반응형
'리눅스 > Server 세팅' 카테고리의 다른 글
Virtualbox VBOX File (0) | 2024.08.12 |
---|---|
mysql mariadb 퍼포먼스 튜닝 cnf 설정값 48gb 램 4c 8t cpu (0) | 2024.03.27 |
MongoDB 일자별 조회 쿼리 (0) | 2023.11.13 |
Cent OS7 서버 세팅, 파티셔닝 가이드 (0) | 2018.12.04 |
해결책: phpmyadmin - mysqli_real_connect(): (HY000/2002): Permission denied (0) | 2018.07.11 |
.htaccess 인식 불가 CentOS7 (리눅스) httpd.conf 설정 방법 (0) | 2018.06.09 |