У меня vs работает нормально на mydomain.com:8080, но я хочу перенаправить его на порт 80, чтобы добавить ssl. Я пробовал почти все из этого git и SO stackoverflow , но я либо получаю пустую страницу, либо мой другой сайт, который находится на сервере. Да, я перезагрузил кеш в браузере
Вот некоторые из ошибок, которые я видел: (в терминале)
$ code-server --proxy-domain code-server.yehudaclinton.cf
info Using config file ~/.config/code-server/config.yaml
info Using user-data-dir ~/.local/share/code-server
info code-server 3.4.1 48f7c2724827e526eeaa6c2c151c520f48a61259
info HTTP server listening on http://0.0.0.0:8080
info - Using password from ~/.config/code-server/config.yaml
info - To disable use `--auth none`
info - Not serving HTTPS
info - Proxying the following domain:
info - *.code-server.yehudaclinton.cf
events.js:292
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:205:27)
Emitted 'error' event on Socket instance at:
at emitErrorNT (internal/streams/destroy.js:100:8)
at emitErrorCloseNT (internal/streams/destroy.js:68:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
error VS Code exited unexpectedly with code 1
(в браузере) подключение WebSocket к 'ws: // code -server.mywebsite.cf/?type=Management&reconnectionToken=7c741f1e-7934-4d76-a6e5-65a79d88a8bb&reconnection=false&skipWebSocketFrames=false 'не удалось: ошибка во время рукопожатия WebSocket: Unexpected10 * код ответа: 500 * 10