code-server on docker container in synology nas #7067
-
Hi guys, sorry for my English, I'm using a translator. this is my compose.yaml for install in docker #services: code-server work both on the local network and from outside using my domain name, there are no problems with that (Let's Encrypt certificate available) Vue CLI v5.0.8 but when I try to run the project with the command (sudo npm run serve, by url (https://myDomain/proxy/8080/)) I see an error in the browser - Invalid Host header. I changed the file vue.config.js: module.exports = { I saw the project in the browser, but with an error( Unexpected token 'o', "[object Blob]" is not valid JSON Then I changed the file vue.config.js on: After this I see the page without errors, but there is an error in the browser console: WebSocketClient refuses to work and therefore HOT RELOAD also... p.s: I understand that the conflict is somewhere in the ports, and synology nas has its own nginx. Thanks for understanding). please help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Although...is |
Beta Was this translation helpful? Give feedback.
ERR_SSL_PROTOCOL_ERROR
seems to imply your browser does not trust your TLS certificate or maybe more likely one is not being served or has issues, but if you are using Let's Encrypt then it seems like it should work.Although...is
wss://myDomain:8080/ws
the right address? I would expect something likewss://myDomain/proxy/8080/ws
.