Skip to content

docs: expand server.proxy description#10831

Merged
patak-cat merged 2 commits intovitejs:mainfrom
sapphi-red:docs/expand-server-proxy-description
Nov 8, 2022
Merged

docs: expand server.proxy description#10831
patak-cat merged 2 commits intovitejs:mainfrom
sapphi-red:docs/expand-server-proxy-description

Conversation

@sapphi-red
Copy link
Member

Description

Add a description to server.proxy docs that

  1. matches all requests that request path start with that key
  2. requires key to include base if base is non-relative

close #6102
superseds close #10169

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@sapphi-red sapphi-red added the documentation Improvements or additions to documentation label Nov 8, 2022
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
@patak-cat patak-cat merged commit ff3eacf into vitejs:main Nov 8, 2022
@sapphi-red sapphi-red deleted the docs/expand-server-proxy-description branch November 8, 2022 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vite proxying with https doesn't work

3 participants