Ignore:
Timestamp:
21 Nov 2007, 16:06:14 (17 years ago)
Author:
uli
Message:

Enable IP-hashing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SysConf/nginx/trunk/etc/nginx/general/http.conf

    r2700 r2732  
    2626# uniben...
    2727upstream uniben_backend { # uniben1 - uniben4
    28         server 127.0.0.1:8180 weight=1;
    29         server 127.0.0.1:8190 weight=1;
    30         server 127.0.0.1:8195 weight=1;
    31 #        server 127.0.0.1:8197 weight=1;
     28        ip_hash;
     29
     30        server 127.0.0.1:8180;
     31        server 127.0.0.1:8190;
     32        server 127.0.0.1:8195;
     33#        server 127.0.0.1:8180 weight=1;
     34#        server 127.0.0.1:8190 weight=1;
     35#        server 127.0.0.1:8195 weight=1;
     36##        server 127.0.0.1:8197 weight=1;
    3237}
    3338upstream uniben_staff_backend { # uniben-staff, -test
    34         server 127.0.0.1:8200 weight=1;
    35         server 127.0.0.1:8197 weight=1;
     39        ip_hash;
     40
     41        server 127.0.0.1:8200;
     42        server 127.0.0.1:8197;
     43#        server 127.0.0.1:8200 weight=1;
     44#        server 127.0.0.1:8197 weight=1;
    3645}
    3746upstream uniben_devel_backend { # uniben-devel
     
    4453# fceokene...
    4554upstream fceokene_backend { # fceokene1 - 2
    46         server 127.0.0.1:8090 weight=1;
    47         server 127.0.0.1:8091 weight=1;
     55        ip_hash;
     56
     57        server 127.0.0.1:8090;
     58        server 127.0.0.1:8091;
     59#        server 127.0.0.1:8090 weight=1;
     60#        server 127.0.0.1:8091 weight=1;
    4861}
    4962upstream fceokene_staff_backend { # fceokene-staff
Note: See TracChangeset for help on using the changeset viewer.