chroxify / chroxify/haptic

Reverse Proxy Support?

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Svelte
Stars
1.7k
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Hey, can we expect some reverse proxy support in the near future, at the moment with my current config

```
location /haptic/ {
proxy_pass http://localhost:3069/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

# Fix asset loading issues by rewriting paths
sub_filter 'href="/' 'href="/haptic/';
sub_filter 'src="/' 'src="/haptic/';
sub_filter_once off;
}
```

the application is unable to get the stored notes, and is generating the default ones everytime

local:

![Image](https://github.com/user-attachments/assets/5d8a6b07-0fca-4617-b8fc-a1b4d03e84ea)

when opened through reverse proxy:

![Image](https://github.com/user-attachments/assets/ef4d440d-9e03-46d9-a319-77928ed65386)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are named in the issue. Reproduce the stored-notes failure using the provided reverse-proxy configuration, then identify the application request or asset paths involved and add a regression test showing that notes load correctly under the /haptic/ prefix.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.