vscode-live-server
vscode-live-server copied to clipboard
Live-Server sub-folder links not working with nginx proxy
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[X] Documentation issue or request
[ ] Other: <!-- Please describe: -->
Current behavior
Live Server is cutting off subdirectory portion of url when a folder is clicked. (See "Other" section below.)
Expected behavior
To correctly navigate to the right url. (See "Other" section below.)
Environment
Browser:
- [X] Chrome (desktop) version - (Brave 1.42.88)
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Live Server: <!-- Check which version is installed --> Live Server v5.7.5
- Platform: <!-- Mac, Linux, Windows --> Ubuntu 22.04
- Visual Studio Code: <!-- `code --version` --> code-server: v4.5.1
Others
I'm wondering if anyone knows what the correct configuration is for getting the VSCode extension "Live Server" working with Nginx proxy. I want to proxy the extension from a subdirectory "/live".
The initial server shows up correctly via ex: https://example.com/live ...
Live Server working with https://example.com/live
...however when I click a folder, "Live Server" removes the "/live" from the URL, resulting in a 404.
Live Server cutting off "/live" resulting in a 404
Here are my "Live Server" proxy settings under the "Remote" tab
Here is my Nginx location block configuration:
Any help would be greatly appreciated. Thank you.
Bump...