I set them up for the most part in config.ru and it is all working great now.
Thank you for all the help, Cenon. On Wed, 7 Jul 2021 at 10:16, Eric Wong <[email protected]> wrote: > > Cenon Del Rosario <[email protected]> wrote: > > > > > I suspect one of those lines could be the result of > > > > > Rack::CommonLogger from RACK_ENV=deployment or similar > > > > > (which matched "rackup" defaults back in 2009). > > > > > > > > > Yes I just tried this and it fixed the issue (I used -N but > > RACK_ENV=none also worked) > > Cool, good to know. > > > Just wondering what other things will be impacted by turning off rack > > middleware? > > Rack::{ContentLength,Chunked,TempfileReaper} for prod: > https://urldefense.com/v3/__https://yhbt.net/unicorn-public/d5991fea2df857480b728e27c927d69c3df2080f/s/?b=lib*unicorn.rb*n67__;LyM!!LBk0ZmAmG_H4m2o!5NcQzVZYpPImkKbKC_y1fau9dHkPueop1r1vsRmW3u7mXtdXoKBx0CutbksqshNguuoNhcbOCA$ > > You can set them up yourself in config.ru, but maybe Rails > also does that for you. I haven't used Rails in many years, > but I seem to recall Rails had its own middleware stack somewhere, > too, but you'll have to refer to Rails docs for that. -- The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. Nine Group does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Nine Group does not accept legal responsibility for the contents of this message or attached files.
