Skip to content

Commit e5c98cf

Browse files
blob
1 parent a05be07 commit e5c98cf

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

config/nginx/nginx.conf

+7-8
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,17 @@ http {
1515
listen [::]:80 default_server;
1616

1717
server_name _;
18-
19-
root /home/dbisadmin/retrieval-deployments;
20-
location / {
21-
auth_basic "Login";
22-
auth_basic_user_file ../../../.htpasswd;
23-
try_files $uri/retrieval-deployments/ui/ $uri/retrieval-deployments/ui /index.html;
24-
}
18+
19+
root /home/dbisadmin/retrieval-deployments/retrieval-deployments/ui;
20+
index index.html index.htm;
21+
try_files $uri $uri/ /index.html;
2522

2623
location /classic {
2724
auth_basic "Login";
2825
auth_basic_user_file ../../../.htpasswd;
29-
try_files $uri/retrieval-deployments/vitrivr-ng/dist/ $uri/retrieval-deployments/vitrivr-ng/dist /index.html;
26+
alias /home/dbisadmin/retrieval-deployments/vitrivr-ng/dist;
27+
index index.html index.htm;
28+
try_files $uri $uri/ /index.html;
3029
}
3130

3231

0 commit comments

Comments
 (0)