我的服务器包含两个IP 192.168.1.90和192.168.1.99,我希望nginx在192.168.1.99和apache上监听192.168.1.90,我还需要在Apache上托管多个虚拟主机。
尝试将apache的ports.conf修改为
NameVirtualHost 192.168.1.90:80
Listen 80
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statem