如何增加各自独立的map
eyewearking.commap $http_host $MAGE_RUN_CODE {
default '';
www.eyewearking.com eyewearking;
eyewearking.com eyewearking;
www.glassesbay.com glassesbay;
glassesbay.com glassesbay;
}
-------------------------------
opticaluk.com
map $http_host $MAGE_RUN_CODE {
default '';
www.opticaluk.com opticaluk;
opticaluk.com opticaluk;
www.glassespark.com glassespark;
glassespark.com glassespark;
}
-------------------
opticalusa.com
map $http_host $MAGE_RUN_CODE {
default '';
www.opticalusa.com opticaluk;
opticalusak.com opticaluk;
www.glassesworld.com glassesworld;
glassesworld.com glassesworld;
}
军哥,我增加了3个虚拟主机, 请问如何在这3个虚拟主机的conf配置中增加独立的map块?
谢谢军哥。
要在server段外面添加
页:
[1]