Cannot set site.url to a different address than the --host flag address in development #5743
My Reproduction Steps
The Output I Wanted
I'd like to be able to set a site URL that is different from the network interface that the Jekyll server is listening to. I am doing development in a VM, so the hostname that I want my browser to see is different from the IP address/network interface that the Jekyll server is bound to. For example, since my VM has a host-only network interface at 192.168.33.10, I'd like to set http://192.168.33.10:4000 as the site URL that Jekyll renders so that any absolute URL still works, while still instructing Jekyll to listen on the 0.0.0.0 interface.
I understand that I can set
The text was updated successfully, but these errors were encountered:
@richardxia If you're using a VM, I'd highly recommend setting up a separate webserver (nginx is very easy to install and setup) and using
We could whitelist