Live data from Hacker News

Show HN: Run/Schedule stand-alone scripts on a REST endpoint

serverlessly.io

11–14 of 14 posts

Re: Show HN: Run/Schedule stand-alone scripts on a REST endpoint

#11
You might want to disable debug mode (aka. show_exceptions setting) unless you want people to have access to sensitive information like the one contained in the "firebase.rb" file or "/root/nginx-unicorn-sinatra/app.rb". Sending an invalid User-Agent as part of the HTTP requests (like one with Unicode characters) makes the web application fail and respond with a dump of the global _SERVER variable with additional information provided by the Sinatra framework:

    curl -H "User-Agent: Foo — Bar" "http://serverlessly.io/"

Re: Show HN: Run/Schedule stand-alone scripts on a REST endpoint

#13

You might want to disable debug mode (aka. show_exceptions setting) unless you want people to have access to sensitive information like the one contained in the "firebase.rb" file or "/root/nginx-unicorn-sinatra/app.rb" . Sending an invalid User-Agent as part of the HTTP requests (like one with Unicode characters) makes the web application fail and respond with a dump of the global _SERVER variable with additional in…

Yeah man!! added these lines in config file set :show_exceptions, false set :raise_errors, false set :dump_errors, false.

Also, working on to enable HTTPS

Post reply on HN