Changes between Initial Version and Version 1 of app2.0/new-nginx-conf


Ignore:
Timestamp:
04/08/2015 02:46:01 PM (11 years ago)
Author:
pengzhanxuan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • app2.0/new-nginx-conf

    v1 v1  
     1        location ~ ^/app/{ 
     2            rewrite /app/(.*)\.do(.*) /intf/app/$1.jsp$2 break; 
     3        proxy_next_upstream http_502 http_504 error timeout invalid_header; 
     4        proxy_set_header Host $host; 
     5        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
     6        proxy_set_header X-Real-IP $remote_addr; 
     7        proxy_redirect      off; 
     8        proxy_connect_timeout 10; 
     9        proxy_read_timeout 60; 
     10        proxy_cache_key $host$uri$is_args$args; 
     11        add_header      X-Cache   '$upstream_cache_status from $server_addr'; 
     12        proxy_pass http://BEST_APP; 
     13    }