ohmyapi commited on
Commit
888cccd
·
verified ·
1 Parent(s): 52dad07

Fix root redirect host for admin login

Browse files
Files changed (1) hide show
  1. nginx.conf +2 -2
nginx.conf CHANGED
@@ -12,11 +12,11 @@ server {
12
  client_max_body_size 50m;
13
 
14
  location = / {
15
- return 302 /admin/login;
16
  }
17
 
18
  location = /index.html {
19
- return 302 /admin/login;
20
  }
21
 
22
  location = /favicon.ico {
 
12
  client_max_body_size 50m;
13
 
14
  location = / {
15
+ return 302 https://$host/admin/login;
16
  }
17
 
18
  location = /index.html {
19
+ return 302 https://$host/admin/login;
20
  }
21
 
22
  location = /favicon.ico {