Page reload websocket connection doesn't use `pathPrefix`
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- backend, networking
Research direction
Start by tracing the dev server's websocket connection setup and how pathPrefix is applied to other served files. Reproduce the connection through an Nginx reverse proxy, then verify that reload notifications connect and function under the configured pathPrefix.
Written by the indexing model from the issue text.
Description
We want to use the eleventy dev server behind a reverse proxy, utilising Nginx.
However, the websocket connection, to get notified of changes, always connects to ws://localhost and does not respect the pathPrefix. All other files are served from the pathPrefix path correctly.
What do you think about using the pathPrefix for ws connections as well?
- Dominant language
- JavaScript
- Stars
- 109
- Forks
- 20
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 11ty/dev-server
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
11ty/dev-server#152 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
11ty/dev-server#150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
11ty/dev-server#147 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
11ty/dev-server#128 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
11ty/dev-server#95 ·
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Add: BuyPass TV Openchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100