https://discord.cloudflare.com logo
Join Discord
Powered by
# cloudflare-for-saas
  • u

    Unsmart | Tech debt

    11/12/2022, 8:09 PM
    Heres the blog about it: https://blog.cloudflare.com/cloudflare-for-saas/
  • g

    Gary Somerhalder

    11/12/2022, 8:10 PM
    Thank you
  • c

    Cetin

    11/14/2022, 5:20 AM
    https://api.cloudflare.com/#custom-hostname-for-a-zone-create-custom-hostname Is there a way to force an elliptic curve key pair certificate when setting up a custom hostname through the API? So far, I have only got certificates with RSA key pairs.
  • a

    Akarys

    11/15/2022, 2:06 PM
    So I am looking at https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/hostname-verification/
  • a

    Akarys

    11/15/2022, 2:06 PM
    I'm confused about how verification actually works
  • a

    Akarys

    11/15/2022, 2:07 PM
    Because we've always been asking the client to set something up such as
    Copy code
    app.client.com. IN CNAME modmail-quilt.customers.starchild.systems.
    _cf-custom-hostname.app.client.com. IN TXT "c3d776f0-0d67-4226-beaf-d48ee237bfba"
  • a

    Akarys

    11/15/2022, 2:07 PM
    Was the CNAME alone enough?
  • a

    Akarys

    11/15/2022, 2:08 PM
    It is what the section labeled itself "CNAME" seems to suggest?
  • c

    cyx

    11/16/2022, 4:02 AM
    did SSL for SaaS change to no longer require TXT record for the fallback origin’s hostname (I can see I added it last time I set it up about 9 months ago, but can’t find it anywhere now when setting it up on a new domain), and now require that you add a Workers Route for every custom hostname (or use a \*/\* wildcard to catch everything but which would prevent you from doing other stuff with the domain)?
  • e

    Erisa | Support Engineer

    11/16/2022, 8:56 AM
    I don't know what you mean about txt on fallback, but you can use workers on them without using workers on the custom domain by setting a second route that routes to no worker
  • e

    Erisa | Support Engineer

    11/16/2022, 8:56 AM
    instructions here
  • c

    cyx

    11/16/2022, 12:19 PM
    before it was setup like this, can’t remember where the TXT value came from but it worked ^_^
  • c

    cyx

    11/16/2022, 12:26 PM
    for the new link you sent, I can get it to work with \*/\* but not with the instructions in the screenshot - I don’t understand what means - are we supposed to use that exact “url” or should it be replaced by something (like hostname or zone ID)?
  • e

    Erisa | Support Engineer

    11/16/2022, 12:27 PM
    I agree this section of the docs is pretty confusing, lets try an easier example If your zone is for the
    example.com
    domain, you would put
    *.example.com/*
    in the route, and select "none" for worker/service
  • e

    Erisa | Support Engineer

    11/16/2022, 12:28 PM
    This will reverse the action of the
    */*
    route, meaning that requests to your actual domain will go directly to origin, but requests to custom hostnames will go to the worker on the
    */*
  • c

    cyx

    11/16/2022, 12:32 PM
    ahh I get it now, thanks a lot
  • u

    Unsmart | Tech debt

    11/16/2022, 4:14 PM
    Yeah I have an outstanding issue on the docs to get that cleared up because it confused me majorly too 😅
  • u

    Unsmart | Tech debt

    11/16/2022, 4:17 PM
    Also whenever using a
    */*
    route note that absolutely everything that is orange clouded on dns will go to that worker unless theres another worker it matches more closely (i.e
    *.<zonename>.com/*
    ) So I highly recommend going to your
    workers routes
    on your domain settings and adding the following 2 (if you dont already have workers for these):
    Copy code
    Route: <zonename>.com/*   Service: None
    Route: *.<zonename>.com/* Service: None
  • j

    Jerrybi

    11/16/2022, 5:36 PM
    Hi guys, I have an app behind azure application gateway (no waf) with external IP I created new A record in "dns only" mode it does work but in proxy mode i get 522 error according to application gateway logs - no traffic from cloudflare coming at all tcpdump in app side is silent too Has anybody encountered such an issue? resolved, I will share for somebody else who probably will search for an answer: Cloudlfare have two important settings "Always Use HTTPS" and "Automatic HTTPS Rewrites" If any of them enabled - your application gateway have to be configured with https listener (with good - no self-signed cert) - otherwise no connectivity will be provided. If you do not have CERT you can go with FrontDoor service which provides it`s own ssl cert
  • n

    nclevenger

    11/17/2022, 10:52 AM
    you can also just do:
    Copy code
    Route: *<zonename>.com/* Service: None
    instead of:
    Copy code
    Route: <zonename>.com/*   Service: None
    Route: *.<zonename>.com/* Service: None
  • l

    Lookboter

    11/20/2022, 12:40 PM
    Is cloudflare for SaaS startup restricted to only Startups that have received funding? We're bootstrapping and are curious. Couldn't really find details saying that. Then again, I would also totally understand you don't want to accept every "bootstrapped" startup.
  • k

    kian

    11/20/2022, 12:42 PM
    https://blog.cloudflare.com/the-cloudflare-startup-enterprise-plan-helping-new-startups-bootstrap/
  • k

    kian

    11/20/2022, 12:43 PM
    Requires you’re apart of a participating accelerator program
  • c

    Cryptolicious

    11/20/2022, 5:19 PM
    Hi, not sure if this is correct channel, but is there anyone who can help me with a question regarding Cloudflare WAF and rate limiting rules?
  • k

    kian

    11/20/2022, 5:19 PM
    Post the question in #909458221419356210
  • c

    Cryptolicious

    11/20/2022, 5:19 PM
    Thanks! Will do
  • d

    Deleted User

    11/21/2022, 3:15 PM
    Quick question: can I use tunnels as an origin with cf for saas?
  • e

    Erisa | Support Engineer

    11/21/2022, 4:01 PM
    it should work, though if dash tunnel then it will get upset trying to add a public hostname for a specific customer domain, better to use a catchall or a config.yml
  • d

    devon

    11/21/2022, 5:48 PM
    https://developers.cloudflare.com/api/operations/custom-hostname-for-a-zone-create-custom-hostname this api keeps failing for me with Invalid custom hostname. Custom hostnames have to be smaller than 256 characters in length, cannot be IP addresses, cannot contain spaces, cannot contain any special characters such as _~`!@#$%^*()=+{}[]|\;:'",<>/? and cannot begin or end with a '-' character. Please check your input and try again. The documentation doesn't say anything about what to pass the hostname as in the POST body.....
    • 1
    • 1
  • w

    Walshy | Pages

    01/11/2023, 3:07 AM
    ------------------------------ *This channel is archived, please use #909458221419356210 * ------------------------------