Ubuntu 14.04 使用Plesk Onyx 17.5在Ubuntu 14.04的自定义子域上设置YouTrack

Ubuntu 14.04 使用Plesk Onyx 17.5在Ubuntu 14.04的自定义子域上设置YouTrack,ubuntu-14.04,plesk,youtrack,Ubuntu 14.04,Plesk,Youtrack,我想在我的Web服务器上使用设置YouTrack standalone 我已经上传并提取了我服务器上的所有文件,并创建了一个子域(board.domain.de)。然后我配置YouTrack使用另一个基本url并侦听另一个端口: ./youtrack.sh configure --listen-port 1111 --base-url https://board.domain.de:2222 这是输出: * Configuring JetBrains YouTrack 2018.1 * Se

我想在我的Web服务器上使用设置YouTrack standalone

我已经上传并提取了我服务器上的所有文件,并创建了一个子域(board.domain.de)。然后我配置YouTrack使用另一个基本url并侦听另一个端口:

./youtrack.sh configure --listen-port 1111 --base-url https://board.domain.de:2222
这是输出:

* Configuring JetBrains YouTrack 2018.1 
* Setting property 'listen-port' to '1111' from arguments 
* Setting property 'base-url' to 'https://board.domain.de:2222' from arguments 
* JetBrains YouTrack 2018.1 runtime environment is successfully configured 
* Loading logging configuration from /var/www/vhosts/domain.de/board.domain.de/youtrack-2018/lib/ext/log4j.xml 
* Redirecting JetBrains YouTrack 2018.1 logging to /var/www/vhosts/domain.de/board.domain.de/youtrack-2018/logs/internal/services/bundleProcess 
* Configuring Service-Container[bundleProcess] 
* Configuring Bundle Backend Service 
* Configuring Configuration Wizard 
然后我通过
/YouTrack.sh start
启动了YouTrack,它运行良好,没有任何错误。输出:

Starting YouTrack...
* Configuring JetBrains YouTrack 2018.1 
* JetBrains YouTrack 2018.1 runtime environment is successfully configured 
* Loading logging configuration from /var/www/vhosts/domain.de/board.domain.de/youtrack-2018/lib/ext/log4j.xml 
* Redirecting JetBrains YouTrack 2018.1 logging to /var/www/vhosts/domain.de/board.domain.de/youtrack-2018/logs/internal/services/bundleProcess 
* Configuring Service-Container[bundleProcess] 
* Configuring Bundle Backend Service 
* Configuring Configuration Wizard 
* Starting Service-Container[bundleProcess] 
* Starting Bundle Backend Service 
* Starting Configuration Wizard 
* JetBrains YouTrack 2018.1 Configuration Wizard will be available on [https://board.domain.de:2222/?wizard_token=7bDc4UyhjyLFPmlJhkzm] after start 
YouTrack is running
单击显示的url,我的浏览器将打开,但显示一个错误。无法访问网站(
错误连接被拒绝
)。我认为这与我的apache/nginx配置有关。所以我跟着

因此,在我的子域设置下的Plesk中,我编辑了常见的apache设置:


但我还是从上面得到了错误。我做错了什么?

看起来问题在于在基本URL中使用https。 Apache配置不包含启用TLS模式所需的行:

SSLEngine On
SSLCertificateFile <path_to_certificate>
SSLCertificateKeyFile <path_to_key>
SSLEngine打开
SSL证书文件
SSLCertificateKeyFile
通过这种方式,当浏览器尝试建立安全连接时,代理侦听端口2222上的普通http通信


有关模式详细信息,请参见

能否提供Apache和nginx日志中的相关记录<代码>/var/www/vhosts/system/domain.de/board.domain.de/error\u log,
/var/www/vhosts/system/domain.de/board.domain.de/proxy\u error\u log