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
I do all my work on my Digital Ocean droplet (so pure CLI-land).
I write a post and the preview server allows me to point link (text-based browser) to 3400 and see my in-development post (yay).
But what if I want my remote machine (i.e. a laptop) to see that same server? To the best of my debugging, the rack server starts up serving while bound to localhost. If I adjust the rackup command, for the :preview task to include a -o to mydomain.com I'm able to access from a full browser.
As such, the feature request would be to add support for a hostname to the Rakefile. I believe this option could be defined elsewhere (in the config.ru), but adding the option in Rakefile keeps the configuration parameter in the same abstraction as server_port, so that seems consistent. #1744 changes the code to work in the base-case. Changing the value of server_host to mydomain.com has me working both locally and remotely.
The text was updated successfully, but these errors were encountered:
I do all my work on my Digital Ocean droplet (so pure CLI-land).
I write a post and the
preview
server allows me to pointlink
(text-based browser) to3400
and see my in-development post (yay).But what if I want my remote machine (i.e. a laptop) to see that same server? To the best of my debugging, the rack server starts up serving while bound to
localhost
. If I adjust therackup
command, for the:preview
task to include a-o
tomydomain.com
I'm able to access from a full browser.As such, the feature request would be to add support for a hostname to the
Rakefile
. I believe this option could be defined elsewhere (in theconfig.ru
), but adding the option inRakefile
keeps the configuration parameter in the same abstraction asserver_port
, so that seems consistent.#1744 changes the code to work in the base-case. Changing the value of
server_host
tomydomain.com
has me working both locally and remotely.The text was updated successfully, but these errors were encountered: