matze / matze/wastebin

How to run with prefix /foo with a remote proxy?

Open
#176 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
860
Forks
63
Avg merge
10h 47m
Merged PRs (30d)
1

Description

When using wastebin with nginx as reverse proxy I can reach the site through https://<addr>/foo but then all the resources are fetched through https://<addr>. Any way to fix that?

Contributor guide

Open the contributing guide

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

Reproduce the deployment through nginx at the /foo prefix and inspect how wastebin generates resource URLs. Check the reverse-proxy configuration and the application's URL handling; the issue is done when every resource request preserves the /foo prefix and loads successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, rust
Domain
backend, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.