Skip to content

Instantly share code, notes, and snippets.

@e10dokup
Last active August 27, 2016 03:00
Show Gist options
  • Save e10dokup/e6ce0a64c9a11fbbacbdd9979237a5c2 to your computer and use it in GitHub Desktop.
Save e10dokup/e6ce0a64c9a11fbbacbdd9979237a5c2 to your computer and use it in GitHub Desktop.
something_like_sprix.rb
#!/usr/bin/env ruby
# coding:utf-8
require 'sinatra'
require 'rack'
get '/*' do
status 503
return "ただいまアクセスが集中しているため、サイトが繋がりづらい状態になっています。 ご迷惑をおかけして申し訳ありません。"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment