Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
824a2176
Commit
824a2176
authored
Dec 09, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: 更新nginx配置文档
parent
cac64e40
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
92 additions
and
8 deletions
+92
-8
README.md
README.md
+73
-2
deployLive.sh
deployScripts/deployLive.sh
+0
-0
deployNormal.sh
deployScripts/deployNormal.sh
+0
-0
deployNormal_110.sh
deployScripts/deployNormal_110.sh
+0
-0
deployNormal_172.sh
deployScripts/deployNormal_172.sh
+6
-0
deployPlatform.sh
deployScripts/deployPlatform.sh
+0
-0
deployPlatform_110.sh
deployScripts/deployPlatform_110.sh
+0
-0
deployPlatform_172.sh
deployScripts/deployPlatform_172.sh
+6
-0
package.json
package.json
+7
-6
No files found.
README.md
View file @
824a2176
...
...
@@ -24,5 +24,76 @@ npm run buildNormal
# 反代
/proxyApi 反代接口到后端地址。
/clear 反代缓存清除到https://puhuijr.net。
```
conf
# manage 管理员和客服经理和银行管理员
server
{
listen
2047
;
charset
utf
-
8
;
gzip
on
;
gzip_min_length
1
k
;
gzip_buffers
4
16
k
;
gzip_comp_level
2
;
gzip_types
text
/
plain
application
/
x
-
javascript
application
/
javascript
text
/
css
application
/
xml
text
/
javascript
application
/
x
-
httpd
-
php
image
/
gif
image
/
png
image
/
jpeg
;
gzip_disable
"MSIE [1-6]\."
;
location
/ {
root
/
usr
/
share
/
nginx
/
html
/
fns_backendnormal
;
try_files
$
uri
$
uri
/
index
.
html
;
}
location
/
proxyApi
/ {
proxy_pass
http
://
172
.
16
.
102
.
150
:
8091
/;
}
location
/
clearCache
{
proxy_pass
https
://
www
.
puhuijr
.
net
;
}
}
# admin 平台管理员
server
{
listen
2046
;
charset
utf
-
8
;
gzip
on
;
gzip_min_length
1
k
;
gzip_buffers
4
16
k
;
gzip_comp_level
2
;
gzip_types
text
/
plain
application
/
x
-
javascript
application
/
javascript
text
/
css
application
/
xml
text
/
javascript
application
/
x
-
httpd
-
php
image
/
gif
image
/
png
;
gzip_disable
"MSIE [1-6]\."
;
location
/ {
root
/
usr
/
share
/
nginx
/
html
/
fns_backendplatform
;
try_files
$
uri
$
uri
/
index
.
html
;
}
location
/
proxyApi
/ {
proxy_pass
http
://
172
.
16
.
102
.
150
:
8091
/;
}
}
# download 下载页
server
{
listen
2050
;
charset
utf
-
8
;
gzip
on
;
gzip_min_length
1
k
;
gzip_buffers
4
16
k
;
gzip_comp_level
2
;
gzip_types
text
/
plain
application
/
x
-
javascript
text
/
css
application
/
xml
text
/
javascript
application
/
x
-
httpd
-
php
image
/
jpeg
image
/
gif
image
/
png
;
gzip_disable
"MSIE [1-6]\."
;
location
/ {
root
/
usr
/
share
/
nginx
/
html
/
fns_backendlive
;
try_files
$
uri
$
uri
/
index
.
html
;
}
location
/
proxyApi
/ {
proxy_pass
http
://
172
.
16
.
102
.
150
:
8091
/;
}
}
```
deployLive.sh
→
deploy
Scripts/deploy
Live.sh
View file @
824a2176
File moved
deployNormal.sh
→
deploy
Scripts/deploy
Normal.sh
View file @
824a2176
File moved
deployNormal_110.sh
→
deploy
Scripts/deploy
Normal_110.sh
View file @
824a2176
File moved
deployScripts/deployNormal_172.sh
0 → 100644
View file @
824a2176
tar
-czf
fns_backendnormal.tar fns_backendnormal
scp fns_backendnormal.tar yx@172.16.101.129:/usr/share/nginx/html/fns_backendnormal.tar
rm
-rf
fns_backendnormal.tar
ssh yx@172.16.101.129
'cd /usr/share/nginx/html && rm -rf fns_backendnormal && tar -xzf fns_backendnormal.tar && rm -rf fns_backendnormal.tar'
echo
'👉 http://172.16.101.129:2047/'
\ No newline at end of file
deployPlatform.sh
→
deploy
Scripts/deploy
Platform.sh
View file @
824a2176
File moved
deployPlatform_110.sh
→
deploy
Scripts/deploy
Platform_110.sh
View file @
824a2176
File moved
deployScripts/deployPlatform_172.sh
0 → 100644
View file @
824a2176
tar
-czf
fns_backendplatform.tar fns_backendplatform
scp fns_backendplatform.tar yx@172.16.101.129:/usr/share/nginx/html/fns_backendplatform.tar
rm
-rf
fns_backendplatform.tar
ssh yx@172.16.101.129
'cd /usr/share/nginx/html && rm -rf fns_backendplatform && tar -xzf fns_backendplatform.tar && rm -rf fns_backendplatform.tar'
echo
'👉 http://172.16.101.129:2046/'
\ No newline at end of file
package.json
View file @
824a2176
...
...
@@ -9,11 +9,11 @@
"buildPlatform"
:
"vue-cli-service build --mode platform --report"
,
"buildNormal"
:
"vue-cli-service build --mode normal --report"
,
"buildLive"
:
"vue-cli-service build --mode live"
,
"bdPlatform"
:
"npm run buildPlatform & bash deployPlatform.sh"
,
"bdNormal"
:
"npm run buildNormal & bash deployNormal.sh"
,
"bdPlatform_110"
:
"npm run buildPlatform & bash deployPlatform_110.sh"
,
"bdNormal_110"
:
"npm run buildNormal & bash deployNormal_110.sh"
,
"bdLive"
:
"npm run buildLive & bash deployLive.sh"
,
"bdPlatform"
:
"npm run buildPlatform & bash
./deployScripts/
deployPlatform.sh"
,
"bdNormal"
:
"npm run buildNormal & bash
./deployScripts/
deployNormal.sh"
,
"bdPlatform_110"
:
"npm run buildPlatform & bash
./deployScripts/
deployPlatform_110.sh"
,
"bdNormal_110"
:
"npm run buildNormal & bash
./deployScripts/
deployNormal_110.sh"
,
"bdLive"
:
"npm run buildLive & bash
./deployScripts/
deployLive.sh"
,
"format"
:
"prettier --write
\"
src/**/*.ts
\"
\"
src/**/*.vue
\"
"
,
"prepare"
:
"husky install"
},
...
...
@@ -78,4 +78,4 @@
"path"
:
"./node_modules/cz-conventional-changelog"
}
}
}
}
\ No newline at end of file
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