Guest User

Untitled

a guest
Nov 21st, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. server {
  2. listen private.ip:80;
  3. allow lb.ip;
  4. allow secondary_lb.ip;
  5. deny all;
  6.  
  7. server_name qa.example.com;
  8. return 301 https://$host$request_uri;
  9. }
  10.  
  11. server {
  12. listen private.ip:443 ssl;
  13. allow lb.ip;
  14. allow secondary_lb.ip;
  15. deny all;
  16.  
  17. server_name qa.example.com;
  18.  
  19. # rest of config
  20. }
Add Comment
Please, Sign In to add comment