SHARE
TWEET

Untitled

a guest Aug 26th, 2019 801 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. upstream mezzanine {
  2.     server 10.0.0.3:8080 fail_timeout=0;
  3. }
  4.  
  5. server {
  6.     listen 80;
  7.         server_name 192.168.88.10.xip.io, www.192.168.88.10.xip.io;
  8.  
  9.     client_max_body_size 10485760;
  10.     keepalive_timeout 15;
  11.     charset  utf-8;
  12.  
  13.  
  14.     location / {
  15.         proxy_redirect      off;
  16.         proxy_set_header    Host                    $host;
  17.         proxy_set_header    X-Real-IP               $remote_addr;
  18.         proxy_set_header    X-Forwarded-For         $proxy_add_x_forwarded_for;
  19.         proxy_set_header    X-Forwarded-Protocol    $scheme;
  20.         proxy_pass          http://10.0.0.3:8080;
  21.  
  22.         proxy_redirect off;
  23.         proxy_buffering off;
  24.     }
  25.  
  26. #    location /static/ {
  27. #        proxy_pass          http://10.0.0.3:8080;
  28. #        access_log      off;
  29. #        log_not_found   off;
  30. #        expires 30d;
  31. #    }
  32.  
  33. #    location /robots.txt {
  34. #        proxy_pass          http://10.0.0.3:8080/static;
  35. #        access_log      off;
  36. #        log_not_found   off;
  37. #    }
  38.  
  39. #    location /favicon.ico {
  40. #        proxy_pass          http://10.0.0.3:8080/static/img;
  41. #        access_log      off;
  42. #        log_not_found   off;
  43. #    }
  44. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top