Advertisement
Guest User

bino-nginx-cfg-10171012-A

a guest
Oct 12th, 2017
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.47 KB | None | 0 0
  1. server {
  2.     listen       80;
  3.     server_name  localhost;
  4.  
  5.     location / {
  6.     proxy_pass http://127.0.0.1:5000 ;
  7.     proxy_set_header Host $host;
  8.     }
  9.  
  10.     location /afterauth/ {
  11.     proxy_pass http://$http_x_backend ;
  12.     }
  13.  
  14.     #error_page  404              /404.html;
  15.  
  16.     # redirect server error pages to the static page /50x.html
  17.     #
  18.     error_page   500 502 503 504  /50x.html;
  19.     location = /50x.html {
  20.         root   /usr/share/nginx/html;
  21.     }
  22.  
  23.  
  24.  
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement