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

uses dokku func "is_spdy_enabled" that is not available in 5.x #11

Closed follmann closed 7 years ago

follmann commented 8 years ago

With the most recent version of dokku-redirect and dokku v5.7 that leaves me with is_spdy_enabled: command not found

That named nginx function was introduced in dokku v6.0.

ariffmunshi commented 7 years ago

Hey, any updates on this?

The redirect did not work for me and I'm getting this error when deploying:

-----> Creating http nginx.conf
-----> Running nginx-pre-reload
remote: /var/lib/dokku/plugins/enabled/redirect/nginx-pre-reload: line 27: is_spdy_enabled: command not found
-----> Configuring redirect for example.com to ...
remote: template: nginx.conf.sigil:4:19: executing "nginx.conf.sigil" at <index $port_map_list...>: error calling index: index out of range: 1
josegonzalez commented 7 years ago

Upgrade your dokku server, this plugin only supports 0.6+ now.

ariffmunshi commented 7 years ago

Alright thanks @josegonzalez !

By the way, just a friendly note.. the upgrade links in the docs are all broken. https://github.com/dokku/dokku/blob/master/docs/getting-started/upgrading.md

Found it on the official docs tho. Thanks!

Cheers.

josegonzalez commented 7 years ago

You're not meant to browse the docs via github, but via our website.