502 Bad Gateway Nginx

I was finally able to deploy Meteor (I supposed) based on the feedback from the log file, but i have been trying to view the website online. whenever i try this it returns 502 error page for Nginx. My ple is this, has anyone used Meteor Up, most important this docker image https://github.com/mrauhu/meteord - mrauhu/meteord:node-4.8.4-base? This is made for deployment from Windows to Linux systems. I’m worried as only the Nginx error page is displayed whenever I browse the IP address. Is the deployment successful.

C:\Programs\contract\schoolapps\.deploy>mup.cmd deploy --cached-build --verbose
Fixing npm dependencies bin paths
Not building app. Using build from previous deploy at
C:\Users\Kehinde\AppData\Local\Temp\mup-meteor-58e876b4-e682-4ecf-9d41-168fa46a5b19

Started TaskList: Pushing Meteor App
[xxx.xxx.xxx.xxx] - Pushing Meteor App Bundle to The Server
[xxx.xxx.xxx.xxx] - Pushing Meteor App Bundle to The Server: SUCCESS
[xxx.xxx.xxx.xxx] - Prepare Bundle
Error response from daemon: No such image: mup-schoolapps:latest
[xxx.xxx.xxx.xxx] - Prepare Bundle: SUCCESS

Started TaskList: Configuring App
[xxx.xxx.xxx.xxx] - Pushing the Startup Script
[xxx.xxx.xxx.xxx] - Pushing the Startup Script: SUCCESS
[xxx.xxx.xxx.xxx] - Sending Environment Variables
[xxx.xxx.xxx.xxx] - Sending Environment Variables: SUCCESS

Started TaskList: Start Meteor
[xxx.xxx.xxx.xxx] - Start Meteor
Error: No such image: mup-schoolapps:latest
using bundle
mv: cannot stat 'current': No such file or directory
Error response from daemon: No such image: mup-schoolapps:previous
Error: No such image: mup-schoolapps:previous
Error: No such image: mup-schoolapps:latest
Image mrauhu/meteord:node-4.8.4-base
Volume --volume=/opt/schoolapps/current:/bundle
Removing docker containers. Errors about nonexistent endpoints and containers are normal.
Error response from daemon: No such container: schoolapps
Error response from daemon: endpoint schoolapps not found
Error response from daemon: No such container: schoolapps-frontend
Error response from daemon: endpoint schoolapps-frontend not found
Error response from daemon: No such container: schoolapps-nginx-letsencrypt
Error response from daemon: endpoint schoolapps-nginx-letsencrypt not found
Error response from daemon: No such container: schoolapps-nginx-proxy
Error response from daemon: endpoint schoolapps-nginx-proxy not found
Finished removing docker containers
node-4.8.4-base: Pulling from mrauhu/meteord
9f0706ba7422: Pulling fs layer
63b9486767cb: Pulling fs layer
81035f5a7a18: Pulling fs layer
092fc161592f: Pulling fs layer
e55c52ce8efa: Pulling fs layer
c1611ec2715d: Pulling fs layer
092fc161592f: Waiting
e55c52ce8efa: Waiting
c1611ec2715d: Waiting
63b9486767cb: Download complete
9f0706ba7422: Verifying Checksum
9f0706ba7422: Download complete
092fc161592f: Verifying Checksum
092fc161592f: Download complete
9f0706ba7422: Pull complete
63b9486767cb: Pull complete
c1611ec2715d: Download complete
e55c52ce8efa: Verifying Checksum
e55c52ce8efa: Download complete
81035f5a7a18: Verifying Checksum
81035f5a7a18: Download complete
81035f5a7a18: Pull complete
092fc161592f: Pull complete
e55c52ce8efa: Pull complete
c1611ec2715d: Pull complete
Digest: sha256:6259a8fb9c9e6612eba803d1f313566a8f41eabbe74d465d0260241dbe77b5a7
Status: Downloaded newer image for mrauhu/meteord:node-4.8.4-base
Pulled mrauhu/meteord:node-4.8.4-base
aaec511f58ed85712d24e6e05d8c6d8d633919468c0d62ac74209bea542e4cbc
Ran mrauhu/meteord:node-4.8.4-base
Running autogenerate
--2017-09-18 15:09:19--  https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10529 (10K) [text/plain]
Saving to: ‘/opt/schoolapps/config/nginx.tmpl’

     0K ..........                                            100% 38.1M=0s

2017-09-18 15:09:19 (38.1 MB/s) - ‘/opt/schoolapps/config/nginx.tmpl’ saved [10529/10529]

latest: Pulling from jrcs/letsencrypt-nginx-proxy-companion
224c136cf25d: Pulling fs layer
2af7fe27fcfb: Pulling fs layer
c06acb7003e2: Pulling fs layer
0f9a4aa002dc: Pulling fs layer
4bc4f7406b16: Pulling fs layer
b4b1ab2dfb4a: Pulling fs layer
0f9a4aa002dc: Waiting
4bc4f7406b16: Waiting
b4b1ab2dfb4a: Waiting
c06acb7003e2: Verifying Checksum
c06acb7003e2: Download complete
2af7fe27fcfb: Verifying Checksum
2af7fe27fcfb: Download complete
0f9a4aa002dc: Verifying Checksum
0f9a4aa002dc: Download complete
224c136cf25d: Verifying Checksum
224c136cf25d: Download complete
b4b1ab2dfb4a: Verifying Checksum
b4b1ab2dfb4a: Download complete
224c136cf25d: Pull complete
2af7fe27fcfb: Pull complete
4bc4f7406b16: Verifying Checksum
4bc4f7406b16: Download complete
c06acb7003e2: Pull complete
0f9a4aa002dc: Pull complete
4bc4f7406b16: Pull complete
b4b1ab2dfb4a: Pull complete
Digest: sha256:309cf1185b945203c6a0eadca60672be19d788afeffdb24e39b213e17ad74f27
Status: Downloaded newer image for jrcs/letsencrypt-nginx-proxy-companion:latest
latest: Pulling from jwilder/nginx-proxy
afeb2bfd31c0: Pulling fs layer
7ff5d10493db: Pulling fs layer
d2562f1ae1d0: Pulling fs layer
bf9bd4b970a6: Pulling fs layer
4bf8c5c17ee0: Pulling fs layer
1fcd9b18e896: Pulling fs layer
49e6cf59bf28: Pulling fs layer
f5d927103906: Pulling fs layer
4bc40b9537d5: Pulling fs layer
bf9bd4b970a6: Waiting
4bf8c5c17ee0: Waiting
1fcd9b18e896: Waiting
49e6cf59bf28: Waiting
f5d927103906: Waiting
4bc40b9537d5: Waiting
d2562f1ae1d0: Download complete
afeb2bfd31c0: Verifying Checksum
afeb2bfd31c0: Download complete
bf9bd4b970a6: Verifying Checksum
bf9bd4b970a6: Download complete
4bf8c5c17ee0: Verifying Checksum
4bf8c5c17ee0: Download complete
7ff5d10493db: Verifying Checksum
7ff5d10493db: Download complete
1fcd9b18e896: Verifying Checksum
1fcd9b18e896: Download complete
49e6cf59bf28: Verifying Checksum
49e6cf59bf28: Download complete
4bc40b9537d5: Download complete
f5d927103906: Verifying Checksum
f5d927103906: Download complete
afeb2bfd31c0: Pull complete
7ff5d10493db: Pull complete
d2562f1ae1d0: Pull complete
bf9bd4b970a6: Pull complete
4bf8c5c17ee0: Pull complete
1fcd9b18e896: Pull complete
49e6cf59bf28: Pull complete
f5d927103906: Pull complete
4bc40b9537d5: Pull complete
Digest: sha256:66f958b69f27645108ea81dc08977c57ba34f452b4f3688c668823ecadb28486
Status: Downloaded newer image for jwilder/nginx-proxy:latest
Pulled autogenerate images
91a9b772e5a739f8ca2bb2d6b205365d3983c50c4f3d2fc297e368ff4bfc7874
Ran nginx-proxy
9a8f39481957694e816db4cc1ca55f7b35bd8111e0f40ed07501a3fa39133bde
Ran jrcs/letsencrypt-nginx-proxy-companion
[xxx.xxx.xxx.xxx] - Start Meteor: SUCCESS
[xxx.xxx.xxx.xxx] - Verifying Deployment
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   173  100   173    0     0   7331      0 --:--:<html>--:-- --:--:--     0
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.13.5</center>
</body>
</html>
-- --:--:-- --:--:--  7521
[xxx.xxx.xxx.xxx] - Verifying Deployment: SUCCESS

C:\Programs\contract\schoolapps\.deploy>

C:\Programs\contract\schoolapps\.deploy>

I successfully hosted a Meteor app on AWS using mup for a Nigeria oil servicing company complete with SSL. You should try it.

Could you furnish me with the end-to-end process. I appreciate.

Currently on mobile, but here’s: Deploy a Meteor app to an AWS Server using Meteor-up (aka MUP)

Also follow this: Tips For Deploying Meteor App To AWS EC2