[Seaside] nginx virtual hosting and seaside

Esteban A. Maringolo emaringolo at gmail.com
Tue Mar 31 14:13:11 UTC 2015

2015-03-31 6:50 GMT-03:00 Jupiter Jones <jupiter.jones at mail.com>:
> To reply to my own question, this is how I’m doing it now, but would appreciate any advice from someone with more nginx experience.

This is how I'd do it:

upstream seaside {

server {
 listen 80;
 server_name www.site2.com;
 root /dev/null;

  location /Site1App {
    proxy_pass http://seaside;
    proxy_set_header Authorization $http_authorization;
    proxy_pass_header Authorization;
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for;


Esteban A. Maringolo

More information about the seaside mailing list