Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- events {
- worker_connections 1024;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- server {
- listen 80;
- server_name localhost;
- auth_basic "Restricted";
- auth_basic_user_file .htpasswd;
- location / {
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header Host $http_host;
- proxy_pass http://127.0.0.1:5601;
- }
- error_page 404 /404.html;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement