cloudflare

Facebook Open Graph Debugger response code 0

懵懂的女人 提交于 2019-12-13 06:38:16
问题 I have problems with my domain and Facebook Open Graph Debugger. It returns a Response Code 0 for this link which is completely accesible. My HTML source code is valid, I tried hosting the same page in another domain and then Facebook Open Graph Debugger can read the content fine. Any ideas about this problem? I was using CloudFlare in this domain, but I disabled it 30 hours ago and the problem is still there. 回答1: If you scroll down to the bottom of the page and click the "See exactly what

PHP CURL Chunked encoding a large file (700mb)

谁都会走 提交于 2019-12-13 05:09:28
问题 So due to Cloudflare's limitations of 250MB I am trying to circumvent around it through Chunked encoding which is supposed to upload the files in chunks that way I don't get the 413 Request Entity Too Large so I followed the general idea of this. https://github.com/php-curl-class/php-curl-class/issues/369 And it is still returning this error, but I don't know how to properly verify the headers that it's chunked and maybe I'm just messing up something? $stream = fopen($getFile, 'r'); // Create

Google App Engine Wildcard Subdomains

帅比萌擦擦* 提交于 2019-12-13 02:47:19
问题 I have Node JS app running on google app engine. I have linked a custom domain to it: www.singlelisting.co BUT I need wildcard subdomains to also link to the node application For Example: 6.singlelisting.co or ns324.singlelisting.co I have not had much luck reading the documentation on google developers site I am using cloudflare for DNS management and have added * records for all the google A and AAAA records. I believe the problem is have google is seeing the subdomains. Any help would be

.htaccess redirect to https except admin url

本秂侑毒 提交于 2019-12-12 23:14:38
问题 I would like to redirect all frontend requests to secured site https and all admin / backend urls should remain unsecured http. In addition, I use Cloudflare CDN. My rewrite rules do not work, all queries go to https. RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} =http RewriteCond %{REQUEST_URI} !admin RewriteRule ^ https://example.com%{REQUEST_URI} [L,R=301] Please help me. 回答1: It should work fine as you have it, although I would change: RewriteCond %{REQUEST_URI} !admin to

Cloudflare Rails SSL error

天涯浪子 提交于 2019-12-12 11:17:06
问题 I had a fully working Rails app running on nginx in a ubuntu server. I added Cloudflare on my app. Then, I am getting this error on pages that require sign in: SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error code: ERR_SSL_PROTOCOL_ERROR My site is accessible from the landing page and other non-interactive static pages. I also noticed that when it

Connect cloudflare to heroku with Full SSL

孤者浪人 提交于 2019-12-12 11:13:35
问题 I have a Heroku app with a free account. I also have a free account in Cloudflare. I am trying to connect them with a Full SSL connection. In cloudflare, I see the following state: However, I can't access my website with a secure connection. I am getting an error 525: I think the problem is with the settings in Heroku but I can't find much information online... Any suggestions? 回答1: Use the app URL ( appname.herokuapp.com ) as CNAME value instead of the domain generated by Heroku. Resource:

email doesn't work in Cloudflare DNS

蓝咒 提交于 2019-12-11 23:16:08
问题 I wanted try to Cloudflare, changed my DNS and checked mx and mail values. But mail still doesn't work. I wonder also what is free plan of Cloudflare protects my Website from? 回答1: After moving your website over to CloudFlare you must set up what are called MX DNS Records. These are bits of information that tell email solutions like gmail where to send email when your domain is used. To setup an MX record do the following: N avigate to the DNS panel in your CloudFlare control panel S elect

android WebView fail to load a webpage that protected by Cloudflare

跟風遠走 提交于 2019-12-11 17:28:22
问题 I am developing an android application. There is a webview in my app, it will load a webpage. webView = findViewById(R.id.web_view); webView.getSettings().setUserAgentString("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36 SECSSOBrowserChrome"); webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl("xxxx.html"); I tested with https://www.google.com , the webView worked normally. But it failed to load xxx.html (

CloudFlare SSL refused on HTTP access

拜拜、爱过 提交于 2019-12-11 12:47:09
问题 I not use CloudFlare SSL , but use LetsEncrypt in my webserver nginx. I'm trying to disable ssl cloudflare default, but not work. Website when access http://example.com result on "Connection refused" and when accesss with http://www.example.com shows Error 521 Web server is down What i have to do? thanks 来源: https://stackoverflow.com/questions/43219932/cloudflare-ssl-refused-on-http-access

Need a rewrite rule based on a custom http header

自作多情 提交于 2019-12-11 08:38:06
问题 Cloudflare is sending a header CF_IPCountry on all requests to our server, which contains the country code from which the request originated. We need to redirect (permanently, including POST requests) all requests coming from New Zealand (CF_IPCountry = NZ) to a subdomain nz.foo.co.nz so that it will be served as domestic traffic and not from cloudflare's servers overseas. What condition and rule do I need? 回答1: Try using the %{HTTP:<headername>} var: RewriteCond %{HTTP:CF_IPCountry} ^NZ$ [NC