In Progress

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

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/[url removed, login to view] 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 [url removed, login to view] 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 [url removed, login to view] 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 [url removed, login to view] and it shows my website to be down, but it's actually up...it's very strange!

I've attached my Nginx configuration.

Skills: DNS, Linux, Network Administration, Nginx, node.js

See more: nginx ssl loop, nginx vhost ssl, nginx ssl subdomain, node.js, magento ssl nginx, fix ssl nginx, nginx ssl, ssl subdomain redirect nginx, ssl subdomain nginx, virtualmin nginx ssl website, magento nginx ssl, webmin virtualmin nginx webmin virtualmin nginx ssl, satchmo ssl nginx, nginx php ssl, centos nginx ssl, free ssl nginx centos

About the Employer:
( 3 reviews ) Oxford, United Kingdom

Project ID: #16825354

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
(0 Reviews)
0.0

8 freelancers are bidding on average $123 for this job

sudhanlogics

Greetings! I have read your project requirement and i can help you with the problem you are facing. This can be a problem in SSL redirection, Loop or something which makes the website not to be online. I can do a fu More

$222 USD in 1 day
(212 Reviews)
6.6
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
(328 Reviews)
6.8
$100 USD in 1 day
(119 Reviews)
5.7
$200 USD in 0 days
(6 Reviews)
3.9
CodeManiaYash

Hi, I have worked on similar configurations in past. I have 6+ years of relevant experience as senior software engineer / technology lead in this domain. I can work on your issue. If this issue is still not fixed an More

$100 USD in 3 days
(2 Reviews)
2.5
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
(7 Reviews)
2.4
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
(2 Reviews)
2.0