Advertisement
Guest User

Untitled

a guest
Aug 27th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. server {
  2. listen 443;
  3.  
  4. location / {
  5. satisfy any;
  6. allow 12.34.56.78;
  7. deny all;
  8.  
  9. limit_except GET {
  10. auth_basic "Restricted";
  11. auth_basic_user_file /etc/nginx/.htpasswd;
  12. }
  13.  
  14. proxy_pass http://localhost:5000;
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement