502 - Bad Gateway BUT...My website is up live - Google Crawl/Fetch 502 - Nginx re-direct loop SSL? - 29/04/2018 14:25 EDT

Cancelled Posted 5 years ago Paid on delivery
Cancelled Paid on delivery

I've recently launched a website in the past few months and it hasn't been ranking in Google that well so I checked out Google Crawl (in search console) and Fetch as Google (fetch the website via Mobile or Desktop). It never works when fetching on desktop, it gives a 502 - Bad Gateway--something I've never seen before because I can access the website just fine myself, and people are using it fine.

So, I thought let me try to fetch the website via Google's Mobile viewer, and it works completely fine (as you can see in the screenshot), so I'm baffled at this point. I have tried other services like Screaming Frog SEO/[login to view URL] and both services give me a 502 - bad gateway, but the site is live and running!

My site is running behind Cloudflare via a simple Node.js stack. There's no [login to view URL] file blocking anything, or anything like that.

On Cloudflare I have a 'Full (strict)' SSL policy, Always use HTTPS, Automatic HTTPS Rewrites. I have Nginx running using the following (sensitive data removed for security reasons). I've put Cloudflare to SSL off but then I get a bunch of re-directs back to [login to view URL] and I can't load the site, maybe this has something to do with it? I do have sub-domains enabled as well for users websites.

I've tried [login to view URL] and it shows my website to be down, but it's actually up...it's very strange!

I've attached my Nginx configuration.

DNS Linux Network Administration Nginx Node.js

Project ID: #16825354

About the project

6 proposals Remote project Active 5 years ago

Awarded to:

brsox88

This should be an easy issue to fix, I am a Linux/Windows server administrator of 14 years and will go through your nginx config and apache if its used as a reverse proxy and fix this. I will also give your server a on More

$35 USD in 1 day
(2 Reviews)
0.4

6 freelancers are bidding on average $110 for this job

dkokmadis

Hello from Greece, Do you have SSH access to the server? Would you like to have a chat? Regards, Dimitris

$155 USD in 3 days
(422 Reviews)
7.1
aniruddh2511

Hello Sir, i have experience with this type of project. and i have also experience, -> PHP, Wordpress, Magento, Opencart, codeigniter, HTML5, CSS3, Javascript, API based Work etc... -> Server handling :- Cpanel,WHM, More

$100 USD in 2 days
(14 Reviews)
3.8
hawkscodes

Hi, I have read your exact requirement and I will fix it as per your guidance so please initiate the chat with me so we can start it immediately. Thanks karuna

$70 USD in 1 day
(11 Reviews)
3.2