Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
log-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
log-platform
Commits
d65dccbe
Commit
d65dccbe
authored
Nov 07, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重新设置配置文件
parent
134d10a7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
log-manager/pom.xml
log-manager/pom.xml
+5
-3
log-manager/src/main/bin/deploy.sh
log-manager/src/main/bin/deploy.sh
+3
-2
No files found.
log-manager/pom.xml
View file @
d65dccbe
...
@@ -53,8 +53,9 @@
...
@@ -53,8 +53,9 @@
<properties>
<properties>
<profiles.active>
test
</profiles.active>
<profiles.active>
test
</profiles.active>
<profiles.server.ip>
192.168.0.98
</profiles.server.ip>
<profiles.server.ip>
192.168.0.98
</profiles.server.ip>
<profiles.server.port>
11078
</profiles.server.port>
<profiles.server.port>
18225
</profiles.server.port>
<profiles.nginx.port>
11091
</profiles.nginx.port>
<profiles.nginx.port>
11092
</profiles.nginx.port>
<profiles.server.gatewayport>
11078
</profiles.server.gatewayport>
<profiles.server.path>
/logservice
</profiles.server.path>
<profiles.server.path>
/logservice
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.datasource.uri>
<profiles.datasource.uri>
...
@@ -86,8 +87,9 @@
...
@@ -86,8 +87,9 @@
<properties>
<properties>
<profiles.active>
product
</profiles.active>
<profiles.active>
product
</profiles.active>
<profiles.server.ip>
192.168.0.251
</profiles.server.ip>
<profiles.server.ip>
192.168.0.251
</profiles.server.ip>
<profiles.server.port>
1
1078
</profiles.server.port>
<profiles.server.port>
1
8225
</profiles.server.port>
<profiles.nginx.port>
11092
</profiles.nginx.port>
<profiles.nginx.port>
11092
</profiles.nginx.port>
<profiles.server.gatewayport>
11078
</profiles.server.gatewayport>
<profiles.server.path>
/sampleform
</profiles.server.path>
<profiles.server.path>
/sampleform
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.datasource.uri>
<profiles.datasource.uri>
...
...
log-manager/src/main/bin/deploy.sh
View file @
d65dccbe
...
@@ -14,6 +14,7 @@ PUBLISH_PATH="@profiles.publish.path@"
...
@@ -14,6 +14,7 @@ PUBLISH_PATH="@profiles.publish.path@"
PROJECT_NAME
=
"@project.artifactId@"
PROJECT_NAME
=
"@project.artifactId@"
IP
=
"@profiles.server.ip@"
IP
=
"@profiles.server.ip@"
PORT
=
"@profiles.server.port@"
PORT
=
"@profiles.server.port@"
GATEWAY_PORT
=
"@profiles.server.gatewayport@"
SHELL_LOG
=
"
${
BASEDIR
}
/
${
SHELL_NAME
}
.log"
SHELL_LOG
=
"
${
BASEDIR
}
/
${
SHELL_NAME
}
.log"
...
@@ -97,14 +98,14 @@ build_nginx() {
...
@@ -97,14 +98,14 @@ build_nginx() {
gzip_disable
\"
MSIE [1-6]
\.\"
;
gzip_disable
\"
MSIE [1-6]
\.\"
;
listen
${
NGINX_PORT
}
;
listen
${
NGINX_PORT
}
;
server_name localhost;
#
server_name localhost;
location / {
location / {
root
${
PROJECT_UI_EXECPATH
}
/dist;
root
${
PROJECT_UI_EXECPATH
}
/dist;
index index.html index.htm;
index index.html index.htm;
}
}
location
${
NGINX_SERVER_PATH
}
/ {
location
${
NGINX_SERVER_PATH
}
/ {
proxy_pass http://
${
IP
}
:
${
PORT
}
;
proxy_pass http://
${
IP
}
:
${
GATEWAY_
PORT
}
;
proxy_set_header Host
\$
host;
proxy_set_header Host
\$
host;
proxy_set_header X-Real-IP
\$
remote_addr;
proxy_set_header X-Real-IP
\$
remote_addr;
proxy_set_header X-Forwarded-For
\$
proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For
\$
proxy_add_x_forwarded_for;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment