iT邦幫忙

0

Portainer:從入門到入土心得錄03

  • 分享至 

  • xImage
  •  

Portainer 的反向代理:

1. 進入 Nginx Proxy Manager 後臺

  • 選項單「Hosts」->找到域名的編輯選項->「Edit」
  • 選項單「Custom locations」->「Add location」
    • Define location:/portainer
    • Scheme:http
    • Forward Hostname / IP:Portainer IP (例如:192.168.1.101)
    • Forward Port:Portainer port (例如:9000)
    • 額外設定:
location /portainer/ {
  rewrite ^/portainer(/.*)$ $1 break;
  proxy_pass http://192.168.1.101:9000;
}
  • 選項單「Save」

https://ithelp.ithome.com.tw/upload/images/20251102/20180224JGxP4a3H8Z.png


圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言