Open
Description
Description:
Pressing the View
button in the admin panel the URL is pointing to http://localhost:4000. But I'm behind a reverse proxy called Nginx.
Tell us a bit about yourself:
- Version of JekyllAdmin I'm using: 0.10.2
- Version of Jekyll I'm using: 4.1.1
- Version of NodeJS I'm using: v14.15.0
- Operating System <e.g. OS X, Windows>: Linux!
- Browser <e.g, Safari, Chrome>: Firefox!
Steps to reproduce:
- Setup Jekyll as normal
- Configure
_config.yml
file, and seturl
key to:url: "https://yourdomain.com"
(baseurl
is just "/") - Configure Nginx to use
yourdomain.com
as server_name in Nginx with alocation /
section containing at least:proxy_pass http://localhost:4000;
- Go to admin panel: https://yourdomain.com/admin
- Press the View button
- Links goes to
http://localhost:4000/jekyll/update/2020/11/19/welcome-to-jekyll.html
, which will NOT work.
I expected the following:
I expect the View links to take the url settings into account. The link example above, should go to:
https://yourdomain.nl/jekyll/update/2020/11/19/welcome-to-jekyll.html
But got the following, instead:
http://localhost:4000/jekyll/update/2020/11/19/welcome-to-jekyll.html
I think it shouldn't be that hard to get this solved, I hope 👍🏽 ?
Regards,
Melroy van den Berg