Advertisement
Radkoski

WUS 1.2 nginx config

Dec 12th, 2022 (edited)
1,021
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.45 KB | None | 0 0
  1. upstream backend {
  2.     server SERV1_ADDR:SERV1_PORT;
  3.     server SERV2_ADDR:SERV2_PORT;
  4.     server SERV3_ADDR:SERV3_PORT;
  5. }
  6.  
  7. log_format upstreamlog '[$time_local] to: $upstream_addr: $request $status upstream_response_time $upstream_response_time msec $msec request_time $request_time';
  8.  
  9. server {
  10.     listen NGINX_PORT;
  11.     access_log /var/log/nginx/access.log upstreamlog;
  12.    
  13.     location /petclinic/api/ {
  14.         proxy_pass http://backend;
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement