location

/

{

rewrite_by_lua

' local current_time = os.time() local start_time = os.time({year=2015,month=7,day=22,hour=02,min=0,sec=0}) local end_time = os.time({year=2015,month=7,day=22,hour=04,min=00,sec=0}) if current_time >= start_time and current_time <= end_time then return ngx.redirect("https://miteshshah.github.io/maintenance.html") end '

;

}