Code-server: how to disable port in url

Created on 10 Apr 2019  路  5Comments  路  Source: cdr/code-server

Description

How to disable :80 when type url http://domain.tld:80 or 8443

i wish to enter http://domain.tld or https://domain.tld

Most helpful comment

Every webserver runs on :80 for http or :433 for https. All major browsers hide the :80 at the end of the domain because the browser cam assume the port from the protocol.

You should be able to just enter http://domain.tld or https://domain.tld assuming you have your ports set correctly.

All 5 comments

Try using port 443.

I wish avoid use port in url because proxy

Use a reverse proxy to redirect to the localhost port to the outside. There is no way to do this (and that鈥檚 literally every OSS app today)

Every webserver runs on :80 for http or :433 for https. All major browsers hide the :80 at the end of the domain because the browser cam assume the port from the protocol.

You should be able to just enter http://domain.tld or https://domain.tld assuming you have your ports set correctly.

Closing this as a wontfix. You can just use nginx for this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

infogulch picture infogulch  路  3Comments

avelino picture avelino  路  3Comments

balazssoltesz picture balazssoltesz  路  3Comments

grant picture grant  路  3Comments

justmao945 picture justmao945  路  3Comments