1
0

ProxmoxのGUI上でノード非表示になってしまう問題(cloudflare access での接続時)

Last updated at Posted at 2024-03-19

Proxmoxcloudflare accessで外部公開しつつ自分だけアクセスできる状態にしようとしていたところ、ハマった箇所があったので備忘録として残します。

ProxmoxのGUIにhttpでアクセスできるようにし、cloudflare access でSSL化する。

Qiitaの記事、「proxmoxのWEB GUIをCloudflareを使って外からアクセスできるようにする」を途中まで参考にしました。

cloudflare accessProxmoxの接続設定を完了し、いざアクセスしようとしたところProxmoxのGUIにはログインできるがノードが表示されない問題が生じました。

ハマった原因

結論として、cloudflare accessアプリケーションバインディングCokieを有効にするの設定をONにしていたことが原因でした。

image.png

OFFにもどすと、無事にノードが表示されるようになりました!
  

参考

私の環境では`/etc/nginx/nginx.conf`についてはこちらのように設定していました。
/etc/nginx/nginx.conf
events {
    worker_connections 1024;
}

http {
    server {
        listen 80;
        server_name localhost;

        location / {
            proxy_set_header Host $http_host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header Cookie $http_cookie;
            proxy_pass https://localhost:8006;

            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";

            proxy_redirect off;
        }
    }
}
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0