Closed cooperaj closed 1 year ago
Thanks for reporting!
Just looking at the fix I don't think it touched the nginx-pre-reload plugin file? Maybe I'm mistaken but that code will still run as it's the code that ended up defining the variable that was used in the template the fix touched.
Unless the variable isn't resolved until access time?
Description of problem
When using Dokku 0.30.0 and this plugin a deploy of your application will result in
remote: /var/lib/dokku/plugins/enabled/redirect/nginx-pre-reload: line 36: is_spdy_enabled: command not found
being show as a part of the deployment output. It all appears to work fine though so it may just be a warning but it is concerning.How reproducible
Use this plugin and Dokku 0.30.0+. Deploy a project using redirects.
Steps to Reproduce
Actual Results
Error
remote: /var/lib/dokku/plugins/enabled/redirect/nginx-pre-reload: line 36: is_spdy_enabled: command not found
shown in logs but it all appears to still work.Expected Results
No errors.
I don't believe any further information is necessary/pertinent but if it's needed I can provide. I believe this issue can be solved by removing a single line from the
nginx-pre-reload
file but I imagine this will have to wait until the SPDY deprecation completes?