dokku / dokku-redirect

A plugin for dokku that gives the ability to set simple redirects for an application
MIT License
106 stars 9 forks source link

Nginx change not working #23

Closed Loschcode closed 6 years ago

Loschcode commented 6 years ago

I tried this promising plugin and added a domain such as ...

www.domain.ltd -> domain.ltd

but when i dokku ps:restart the project it crashes because of the plugin ...

-----> Creating https nginx.conf
-----> Running nginx-pre-reload
/var/lib/dokku/plugins/enabled/redirect/nginx-pre-reload: line 28: get_nginx_location: command not found
josegonzalez commented 6 years ago

What version of Dokku are you using?

Loschcode commented 6 years ago

Sorry I forgot to write that down, I use Dokku 0.6.5

josegonzalez commented 6 years ago

You'll need to upgrade to at least 0.11.x. I changed the interface for the plugin and it requires at least that version. Sorry about that!

Loschcode commented 6 years ago

Great I didn't know it could be an issue / my version was outdated ; I'll do that, thanks for the quick replies 👍