The docker container is launched with docker run --rm -p 3000:3000 -p 8000:80 coderwithnginx:latest
, exposing both port 3000 and port 80. When accessing via http://127.0.0.1:3000
, the extensions work. However when accessing via http://127.0.0.1:8000/coder/
, only the editor and terminal work. It looks like the extensions are installed but not activated, and I am getting error messages in the dev console.
\n\nScreenshot for the working scenario
\n
What could be the possible causes?
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Do the query parameters get included in the location match? Wonder if you need proxy_pass http://127.0.0.1:3000/$1$is_args$args;
.
Or this should also work, I think:
\nlocation /coder/ {\n proxy_pass http://127.0.0.1:3000/;\n}\n
-
Beta Was this translation helpful? Give feedback.
-
Do the query parameters get included in the location match? Wonder if you need Or this should also work, I think:
|
Beta Was this translation helpful? Give feedback.
Do the query parameters get included in the location match? Wonder if you need
proxy_pass http://127.0.0.1:3000/$1$is_args$args;
.Or this should also work, I think: