1
继承人我mup.json:流星mupx SSL配置不工作,还是路由到端口80
// Configure environment
"env": {
"PORT": 3000,
"ROOT_URL": "https://www.exomatch.com"
},
//SSL
"ssl": {
"certificate": "ssl/ssl.crt", // this is a bundle of certificates
"key": "ssl/private.key", // this is the private key of the certificate
"port": 443 // 443 is the default value and it's the standard HTTPS port
},
下面是自动生成的泊坞窗容器:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
454d0d829b8b meteorhacks/mup-frontend-server:latest "/start.sh" 9 minutes ago Up 9 minutes 0.0.0.0:443->443/tcp exomatch-frontend
71398a208be1 meteorhacks/meteord:base "/bin/sh -c 'bash $M 9 minutes ago Up 9 minutes 0.0.0.0:3000->80/tcp exomatch
f39a9105b72f mongo:latest "/entrypoint.sh mong 39 hours ago Up 39 hours 127.0.0.1:27017->27017/tcp mongodb
我不明白...当我访问端口443下的网站时,我也无法从服务器获得答案。 mupx的其余部分配置正确(部署工作!),我也运行mupx安装程序和mupx部署。
该应用程序的目录结构如下:
/// ROOT
- client
----views
--- application, admin, usw...
- collections
- lib
- packages
- private
- public
- server
---- Methods hooks usw...
- ssl
-----private.key; ssl.crt
- mup.json
- packages.json
- settings.json
- smart.json
- smart.lock
中的应用是在Amazon EC2运行没有一个负载均衡器。
你也可以发布mupx目录结构吗? – Kriegslustig
当然,我添加了更多的信息,包括应用程序结构。应用程序结构是你想要的吗? –