Advertisement
onlinejudge95

Dashboard NGINX config

Dec 24th, 2021
1,403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.37 KB | None | 0 0
  1. upstream dashboard.courtroom.consulting {
  2.     server 127.0.0.1:8001;
  3. }
  4.  
  5. server {
  6.     listen 80;
  7.     server_name dashboard.courtroom.consulting;
  8.     add_header Strict-Transport-Security "max-age=31556952" always;
  9.  
  10.     location / {
  11.       proxy_pass http://dashboard.courtroom.consulting/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/;
  12.     }
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement