Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
selfcontrol [2015/12/12 16:31] – [Web alarmu] rootselfcontrol [2015/12/12 19:04] – [ostatní části alarmu] root
Line 254: Line 254:
   redirect to('/')   redirect to('/')
 end end
- 
 </code> </code>
 +==== ostatní části alarmu ====
 rele_definice.rb rele_definice.rb
 <code bash> <code bash>
Line 270: Line 269:
            "reklama"=>{:cislo=>8,"sviti"=>0,"nesviti"=>1}}            "reklama"=>{:cislo=>8,"sviti"=>0,"nesviti"=>1}}
 </code> </code>
 +
 +Jak povolit https v sinatře. - https://gist.github.com/TakahikoKawasaki/40ef0ab011b0a467bedf#file-sinatra-ssl-rb
 +
 +http://stackoverflow.com/questions/3696558/how-to-make-sinatra-work-over-https-ssl/12373973#12373973?newreg=6cdd8150f38b465ebe6cd010651315bc
 +
 +Jak udělat aby webbrick poslouchal na všech adresách?  :Host => '0.0.0.0'
 +http://www.parorrey.com/blog/webmaster-tasks/configuring-webrick-to-serve-redmine-over-ssl-using-openssl-certificate/
 +
  
 rele.rb rele.rb
 
selfcontrol.txt · Last modified: 2015/12/12 19:38 (external edit)