Cookbook

From Resin 3.0

Revision as of 00:00, 30 December 2011 by Ferg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Resin Cookbook contains helpful configuration examples, each focused on a single Resin configuration for a specific purpose.

Contents

Full Configurations

Apache-style single webapp server
using /var/www/public-html as the single webapp
Webapps-style war deployment
using /var/www/webapps for .war deployment and expansion
Virtual Hosts using Hosts Directory
using /var/www/hosts/www.foo.com/webapps/ROOT for virtual hosts and webapps
Cluster with Two Servers
cluster configuration describing how to add multiple servers to a cluster
Resin Load Balancing
Using Resin as a HTTP server, load balancing to backend Resin application servers
Two Cluster Load Balancing
Load balancing /foo and /bar to two separate backend clusters
Resin administration
Configuring the /resin-admin service on port :8081
Resin behind SSL Load Balancer
Redirects and SSL security handling with Resin as a backend
Resin using OpenSSL
Configuring the 443 port to use OpenSSL

Security

Security with User in Role
Security with Ssl
Custom Authenticator with FormLogin and UserInRole
creating a Custom Authenticator with form login
Custom Authenticator and CustomLogin
using a Custom Login with custom cookies


Performance analysis

Debugging throughput issue: blocked thread issues

Proxy and Load Balancing

FastCGI
using Resin to load balance to a backend FastCGI server like Ruby or PHP
HttpProxy
using Resin to load balance to a backend HTTP like Apache or IIS

Networking

Throttling HTTP by Remote IP
protecting the server against attacks by limiting connections from a single IP address

Logging

Mail Log-Handler

Rewrite

Moved Permanently

Timers and Cron

Scheduled Task
Personal tools