-
Hi, Great project!. Apologies if this has been documented / answered before. I am trying to set up subdomain proxy using the docker image codercom/code-server but can't seem to get it to work. in the usage docs it says to use this startup flag: --proxy-domain It may also be relevant to say I am using jwilder/nginx-proxy image for this. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Can you elaborate here? I thought that's what you wanted? Also can you post your Dockerfile? I wonder if you need to adjust your nginx config. I'm not super familiar but I'm sure we can help you |
Beta Was this translation helpful? Give feedback.
-
Hi thanks for the response. Code server is hosted on mydomain.com. I was reading in usage of this - https://coder.com/docs/code-server/latest/guide#proxying-to-create-a-react-app So my intent was for 3000.mydomain.com in this case to load the development server of create-react-app (like /proxy/3000 does) instead it loads code server. My Dockerfile? im using this image https://hub.docker.com/r/codercom/code-server to build (roughly): docker run -d Sorry if this doesn't clear up the questions |
Beta Was this translation helpful? Give feedback.
-
Figured it out. Went into the config.yml and added proxy-domain: mydomain.com rather than using a flag and now works as expected. |
Beta Was this translation helpful? Give feedback.
Figured it out. Went into the config.yml and added proxy-domain: mydomain.com rather than using a flag and now works as expected.