Cookbook

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category: Cookbook]]
+
The Resin Cookbook contains helpful configuration examples, each focused on a single Resin configuration for a specific purpose.
  
 
== Full Configurations ==
 
== Full Configurations ==
  
; [[Cookbook: Apache-style single webapp server ]]
+
; [[Apache-style single webapp server ]]
; [[Cookbook: Cluster with Two Servers ]]
+
: 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 ==
  
; [[Cookbook: Security with User in Role ]]
+
; [[Security with User in Role ]]
; [[Cookbook: Security with Ssl ]]
+
; [[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 ==
 
== Proxy and Load Balancing ==
  
; [[Cookbook: FastCGI ]]
+
; [[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 ==
 
== Logging ==
  
; [[Cookbook: Mail Log-Handler ]]
+
; [[Mail Log-Handler ]]
 +
 
 +
== Rewrite ==
 +
 
 +
; [[Moved Permanently ]]
  
 
== Timers and Cron ==
 
== Timers and Cron ==
  
; [[Cookbook: Scheduled Task]]
+
; [[Scheduled Task]]
 +
 
 +
[[Category: Cookbook]]

Latest revision as of 00:00, 30 December 2011

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