Resin administration

From Resin 3.0

Jump to: navigation, search

Resin's administration page /resin-admin should generally be enabled for all Resin servers. For security, it's best to have /resin-admin available on a dedicated virtual host, a separate TCP port, so your admin will be protected by your firewall.

resin.xml for /resin-admin on port 8091

<resin xmlns=""
    <resin:import path="${__DIR__}/admin-users.xml" optional="true"/>

  <cluster id="">
    <resin:import path="${__DIR__}/app-default.xml"/>

      <http port="80"/>
      <http port="8091"/>

    <server id="a" address="" port"6800"/>

    <host id=""> 
      <web-app-deploy path="webapps"/>

    <host id=":8091">

      <web-app id="/resin-admin" root-directory="${resin.root}/doc/admin">
          <resin:set var="resin_admin_external" value="false"/>
          <resin:set var="resin_admin_insecure" value="true"/>

  • /resin-admin login is enabled with the AdminAuthenticator
  • The admin users are configured in ${resin.home}/admin-users.xml
  • The server listens to HTTP ports 80 and 8071
  • The server runs as the "resin" user instead of root
  • Applications are deployed to /var/www/webapps
  • The web-apps are served through the default virtual host
  • The resin-admin is served through the ":8091" virtual host
  • The /resin-admin web-app is in ${resin.root}/doc/admin
  • We've enabled non-localhost and non-SSL access to /resin-admin
Personal tools