PixNyb
CCoder.com
•Created by viking on 10/4/2022 in #help
How can I setup an SSL?
Including working ssl
157 replies
CCoder.com
•Created by viking on 10/4/2022 in #help
How can I setup an SSL?
All you have to do now is visit 30.{domain} and log in, then you’ll be able to access your app running on localhost:30
157 replies
CCoder.com
•Created by viking on 10/4/2022 in #help
How can I setup an SSL?
No that should just work, i have a separate block to allow http on only proxied ports, but this should do the trick if you’re running a web application and want to access it elsewhere with the code-server authentication
157 replies
CCoder.com
•Created by viking on 10/4/2022 in #help
How can I setup an SSL?
Oh wait this is the domain itself^
I’ll send the proxy thing too
157 replies
CCoder.com
•Created by viking on 10/4/2022 in #help
How can I setup an SSL?
To access your web application running on localhost:30 you’ll have to configure the proxy in nginx, what i did in my nginx config is listen to anything in the following format: {number}.{domain} and then proxy reverse proxy that to code server (running on localhost:8080).
This is what that looks like:
157 replies
CCoder.com
•Created by viking on 10/4/2022 in #help
How can I setup an SSL?
So basically what i did was run code-server on any port that’s not in use by my server, which was 8080 by default. I updated the code-server config to the following:
The proxy-domain is what ultimately got code-server to listen to my public domain.
I didn’t set up code-server to use certs because i already did that with nginx, which works just fine
157 replies
CCoder.com
•Created by viking on 10/4/2022 in #help
How can I setup an SSL?
I’m running code-server with nginx too, i might be of some assistance
157 replies