コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3972 ビュー

Hi, I protected my new odoo12-testsystem by htpasswd. Works fine but leads to 400 /404 instead to the homepage.

I guess that is because a missing path into the config (?).

    # Passwortschutz

    location = / {auth_basic "Geschützter Bereich";

                  auth_basic_user_file /etc/nginx/geheim.htpasswd;

    }

Any ideas? Many Thanks!!!
Peter
 
Solved: You have to create a own homepage. the one, odoo after installation provided, is not a real "root-page".
アバター
破棄
関連投稿 返信 ビュー 活動
4
12月 19
6035
2
12月 19
5232
0
5月 25
1593
2
9月 24
2438
13
9月 24
193096