VPS上的其他网站都变成discourse的首页了

和我的环境差不多。

这是我的 Apache VirtualHost 配置:

<VirtualHost *:80>
    ServerAdmin xxx@xxx.com
    ServerName YOUR_DOMAIN_NAME

    ProxyPreserveHost On
    ProxyRequests Off
    ProxyPass / http://127.0.0.1:8088/
    ProxyPassReverse / http://127.0.0.1:8088/

    ErrorLog /var/log/apache2/discourse_error.log
    CustomLog /var/log/apache2/discourse_access.log combined
</VirtualHost>

这是我的 app.yml 配置:

## which TCP/IP ports should this container expose?
expose:
  - "8088:80" # fwd host port 80   to container port 80 (http)
  - "2222:22" # fwd host port 2222 to container port 22 (ssh)
2赞