diff --git a/backend/public/install/templates/step5.php b/backend/public/install/templates/step5.php index 484e47f06..4aa13a4e5 100755 --- a/backend/public/install/templates/step5.php +++ b/backend/public/install/templates/step5.php @@ -35,7 +35,7 @@ $host = $_SERVER['HTTP_HOST']; 进入前台
- 进入后台 + 进入后台
diff --git a/docker/nginx/vhost.conf b/docker/nginx/vhost.conf index fdad80941..1496d5e02 100644 --- a/docker/nginx/vhost.conf +++ b/docker/nginx/vhost.conf @@ -6,6 +6,9 @@ server { root /var/www/public; + # 端口映射场景(宿主机 8011 -> 容器 80):目录补斜杠 301 使用相对 Location, + # 避免跳转后丢失宿主机映射端口 + absolute_redirect off; location / { # try_files $uri /index.php$is_args$args;