Tagged articles
18 articles
Page 1 of 1
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 13, 2026 · Backend Development

How to Quickly Fix CORS Issues with Simple Nginx Configuration

This article walks through common CORS errors encountered when a frontend on http://localhost:8080 calls a backend on http://localhost:59200, explains the role of the four CORS response headers, the preflight OPTIONS request, and provides step‑by‑step Nginx configurations to resolve each case.

CORSNGINXhttp-headers
0 likes · 13 min read
How to Quickly Fix CORS Issues with Simple Nginx Configuration
Cognitive Technology Team
Cognitive Technology Team
Jul 5, 2025 · Frontend Development

Why Does a POST Request Appear Twice? Unraveling CORS Preflight Mechanics

POST requests can be sent twice in cross‑origin scenarios because browsers issue a CORS preflight OPTIONS request first, and only after the server approves the request does the actual POST occur; understanding same‑origin policy, simple vs complex requests, and proper server header configuration prevents this duplication.

CORSCross-OriginPOST
0 likes · 8 min read
Why Does a POST Request Appear Twice? Unraveling CORS Preflight Mechanics
Selected Java Interview Questions
Selected Java Interview Questions
Jul 3, 2025 · Frontend Development

Understanding Same-Origin Policy and CORS: A Complete Guide

This article explains the fundamentals of the browser's same-origin policy, its security implications, how it restricts DOM, web data and network access, and provides a detailed overview of CORS, including simple requests, preflight checks, required headers, and best practices for safe cross-origin communication.

CORSCross-OriginWeb Security
0 likes · 14 min read
Understanding Same-Origin Policy and CORS: A Complete Guide
Linux Cloud Computing Practice
Linux Cloud Computing Practice
May 22, 2025 · Backend Development

Fix CORS Errors with Nginx Proxy: A Step‑by‑Step Guide

This article walks through why browsers block cross‑origin requests, explains the four CORS response headers, demonstrates how to test preflight requests, and provides multiple Nginx configuration examples—including handling OPTIONS, custom headers, and method restrictions—to reliably resolve CORS issues.

Proxyhttp-headerspreflight
0 likes · 13 min read
Fix CORS Errors with Nginx Proxy: A Step‑by‑Step Guide
Top Architect
Top Architect
May 21, 2025 · Frontend Development

Understanding Same‑Origin Policy and CORS in Web Development

This article explains the browser's same‑origin policy, its role in preventing XSS, CSRF and other attacks, details the protocol, host and port rules, illustrates with examples, and then describes CORS, simple and preflight requests, credential handling, and provides a complete request flow diagram.

CORSHTTPWeb Security
0 likes · 17 min read
Understanding Same‑Origin Policy and CORS in Web Development
Top Architect
Top Architect
Nov 26, 2024 · Information Security

Understanding Same-Origin Policy and CORS: Core Concepts, Simple Requests, and Preflight Mechanics

This article explains the same‑origin policy, its role in protecting browsers from XSS, CSRF and other attacks, illustrates how origins are defined with protocol, host and port, and details how CORS, simple requests and preflight requests enable controlled cross‑origin communication.

Browser SecurityCross-Origin RequestsSame-Origin Policy
0 likes · 15 min read
Understanding Same-Origin Policy and CORS: Core Concepts, Simple Requests, and Preflight Mechanics
Open Source Linux
Open Source Linux
Feb 27, 2024 · Backend Development

Mastering CORS: Fix Cross‑Origin Errors with Nginx Proxy

This guide walks through diagnosing common CORS failures, explains the four essential response headers, and provides step‑by‑step Nginx configurations—including handling preflight OPTIONS requests, custom headers, and method restrictions—to reliably resolve cross‑origin issues during development.

CORSCross-OriginWeb Development
0 likes · 13 min read
Mastering CORS: Fix Cross‑Origin Errors with Nginx Proxy
Su San Talks Tech
Su San Talks Tech
Jul 16, 2023 · Backend Development

Mastering CORS: Real‑World Backend Configurations and Chrome Private‑Network Fixes

This article shares a hands‑on journey of solving cross‑origin issues in a multi‑domain education product, covering CORS fundamentals, simple and preflight requests, Nginx and SpringBoot configurations, response‑code choices, and Chrome’s insecure private‑network restrictions, with practical solutions and lessons learned.

BackendCORSChrome
0 likes · 18 min read
Mastering CORS: Real‑World Backend Configurations and Chrome Private‑Network Fixes
Architecture Digest
Architecture Digest
Apr 29, 2022 · Frontend Development

Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Guide

This article walks through the root causes of CORS errors, explains the four essential response headers, demonstrates how to test with Postman, and provides a series of Nginx configuration examples that progressively fix preflight, header, method, and credential problems for a local development environment.

CORSCross-OriginProxy
0 likes · 14 min read
Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Guide
360 Tech Engineering
360 Tech Engineering
Sep 9, 2019 · Frontend Development

Understanding Simple and Preflight Requests in CORS

The article explains why CORS distinguishes between simple requests—limited to GET, HEAD, POST with specific headers and content types—and preflighted requests, describing the server‑side rationale, the mechanics of preflight, and why avoiding preflight for simple requests simplifies cross‑origin interactions.

CORSHTTPSimple Request
0 likes · 6 min read
Understanding Simple and Preflight Requests in CORS