Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 443;
- location / {
- satisfy any;
- allow 12.34.56.78;
- deny all;
- limit_except GET {
- auth_basic "Restricted";
- auth_basic_user_file /etc/nginx/.htpasswd;
- }
- proxy_pass http://localhost:5000;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement