NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Custom CORS

Open
#379 14 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Is your feature request related to a problem? Please describe.
We all know CORS is a huge pain to set up. At least if you want to do it right and don't already have a working snippet to paste in.
I love this Proxy Manager, because it makes many things much more easy, but it makes CORS even worse.
I have been able to create a proxy host, that can handle preflight cors requests with a custom location (like in #202), but i still think there should be a way to set CORS with the GUI.
A GUI Option was mentioned in #202, but since that wasn't the original topic of the issue i created this issue dedicated to a gui solution.

Describe the solution you'd like
A GUI for CORS in the Advanced Tab, to control CORS like this:
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the proxy host Advanced tab and the custom-location approach described in #202, then review the provided CORS configuration screenshot. Done means the GUI exposes the requested CORS controls and applies them to proxy hosts, including preflight requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, typescript
Domain
backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.