Commit d8802671 authored by 赵啸非's avatar 赵啸非

重新设置配置文件

parent 198e4faf
......@@ -315,9 +315,7 @@
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<skipAssembly>${skipDeploy}</skipAssembly>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
......@@ -341,6 +339,7 @@
<goal>single</goal>
</goals>
<configuration>
<skipAssembly>${skipDeploy}</skipAssembly>
<finalName>${project.artifactId}-ui</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
......
#!/bin/sh
RETVAL=$?
SHELL_NAME=$0
SHELL_NAME="deploy"
BASEDIR=$(dirname $0)
BASEDIR=$( (
cd "$BASEDIR"
......@@ -8,8 +8,8 @@ BASEDIR=$( (
))
LOCK_FILE="/tmp/deploy.lock"
# 时间变量
LOG_DATE='date "+%Y-%m-%d"'
LOG_TIME='date "+%H-%M-%S"'
CDATE=$(date "+%Y-%m-%d")
CTIME=$(date "+%H:%M:%S")
PUBLISH_PATH="@profiles.publish.path@"
PROJECT_NAME="@project.artifactId@"
IP="@profiles.server.ip@"
......@@ -103,7 +103,7 @@ build_nginx() {
index index.html index.htm;
}
location ${NGINX_SERVER_PATH} {
location ${NGINX_SERVER_PATH}/ {
proxy_pass http://${IP}:${PORT};
proxy_set_header Host \$host;
proxy_set_header X-Real-IP \$remote_addr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment