Cross-Origin Resource Sharing (CORS) configuration


Red Hat build of Quarkus 3.20

Red Hat Customer Content Services

Abstract

This guide explores how to use Cross-Origin Resource Sharing (CORS) to securely manage cross-origin HTTP requests by using server-defined policies for Red Hat build of Quarkus applications. It emphasizes secure policy enforcement, dynamic origin management, and detailed header customization to control cross-origin HTTP requests. Additionally, it provides step-by-step guidance for configuring CORS filters, using regular expressions for allowed origins, and ensuring security best practices are adhered to in both development and production environments.

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat, Inc.