InkProject / ink

An elegant static blog generator

Home Page:https://inkproject.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http/https with external webserver

rbucker opened this issue · comments

I'm not using inkpaper to serve my site. I'm using nginx. I am pointing http an https to the folder. The challenge is that the config.yml assumes that the protocol is whatever you specify and depending what the user selects it needs to be redirected or fails.

The challenge is that the service in front of the site may be https and so all the generated links that use Site.Root assume they know the

there are a couple of choices

  • provide a config option to redirect to https

nevermind... just do not configure site.root in the config file.