[katello-devel] development mode - running server with https using webrick

Petr Chalupa pchalupa at redhat.com
Mon Apr 15 09:20:22 UTC 2013



On 12.04.13 17:20, Brad Buckingham wrote:
> As a developer, I typicallly run my server using webrick with
> 'use_ssl=true' in katello.yml.  In this configuration, the UI is
> accessible using : https://mykatelloserver.com:3000/katello .  The main
> reason that I use this configuration is that it allows me to register
> clients to my dev instance and test client/server interactions.
>
> In the past, I would run the server using :
>      RAILS_RELATIVE_URL_ROOT=/katello bundle exec ./script/rails s
>
> It appears that there may have a been a recent change where this no
> longer works (i.e. thin is now the default app server).  So, if you
> encounter the same and want to use https with webrick, run the server
> using:
>
>      RAILS_RELATIVE_URL_ROOT=/katello bundle exec ./script/rails s webrick

RAILS_RELATIVE_URL_ROOT=/katello is ignored, the relative url is 
configured in katello.yml under url_prefix key. '/katello' is default value.

> (I'll check the wiki to see if it needs updates as well.)
>
> thanks,
> Brad
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list