You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub static pages can be delegated to a custom domain by adding a CNAME to root directory. We could recognize the CNAME file placed in the root of static website and auto-configure http-master.
Additionally, if we pass the port number in file called PORT file in the root directory, this is all we need:
{
"static": [
"/home/example.com/public"
]
}
I'm not sure how it plays with your ideas for future (the user-friendly config), but the idea is simple: read CNAME and PORT files and configure the http-master accordingly.
The text was updated successfully, but these errors were encountered:
GitHub static pages can be delegated to a custom domain by adding a CNAME to root directory. We could recognize the CNAME file placed in the root of static website and auto-configure http-master.
Currently it looks like:
It could be reduced to:
Additionally, if we pass the port number in file called
PORT
file in the root directory, this is all we need:I'm not sure how it plays with your ideas for future (the user-friendly config), but the idea is simple: read CNAME and PORT files and configure the http-master accordingly.
The text was updated successfully, but these errors were encountered: