init
This commit is contained in:
14
dashboard-secure
Normal file
14
dashboard-secure
Normal file
@@ -0,0 +1,14 @@
|
||||
server {
|
||||
listen 8080;
|
||||
server_name _;
|
||||
|
||||
auth_basic "Kubernetes Dashboard";
|
||||
auth_basic_user_file /etc/nginx/auth/dashboard;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.49.2:30080;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user