Cookbook

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
(31 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
  
== Load Balancing ==
 
  
; [[Cookbook: FastCGI ]]
+
== 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 ==
 
== 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

[edit] 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

[edit] 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


[edit] Performance analysis

Debugging throughput issue: blocked thread issues

[edit] 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

[edit] Networking

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

[edit] Logging

Mail Log-Handler

[edit] Rewrite

Moved Permanently

[edit] Timers and Cron

Scheduled Task
Personal tools