2019年5月5日日曜日

Access through untrusted domain対処 for Next Cloud

◻️kubectl createで作成後にwebにアクセスを行うと、以下のエラーが表示されてしまう。

Access through untrusted domain

Please contact your administrator. If you are an administrator, edit the "trusted_domains" setting in config/config.php like the example in config.sample.php.
Depending on your configuration, this button could also work to trust the domain:


◻️nextcloud(pod内)の設定ファイルの編集

1)対象のpodに接続を行う。
2)vimのインストールを行う。
3)以下、編集を行う
'trusted_domains' =>
array(
0 => 'localhost',
1 => '192.168.13.xx', <-----サーバーのIPを追加
),
==================================================


kubectl exec -it [pod名] /bin/sh

# apt-get update
# apt-get install vim

# vi /var/www/html/config/config.php
==================================================


◻️以下、ログインできるようだ。

0 件のコメント:

コメントを投稿

各AIツールの検証結果とリアルな評価:私感

 MacStudio M4 MAX 36GB/1TBを使っていて 個人的な、Aiエージェントの検証結果になります。 各エージェントのパラメータの意味や模索で結構時間が溶けてしまった。。。 各AIツールの検証結果とリアルな評価 ツール名 評価とリアルなボトルネック Roo Code...