Fix root redirect host for admin login
Browse files- 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 {
|