Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jnpf-app-vue3-dj
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
zuoliyuan
jnpf-app-vue3-dj
Commits
e97e95d6
Commit
e97e95d6
authored
Sep 06, 2024
by
lover2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
f7c838ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
devops/default.conf
devops/default.conf
+54
-0
No files found.
devops/default.conf
0 → 100644
View file @
e97e95d6
server
{
listen
80
;
server_name
localhost
;
root
/
usr
/
share
/
nginx
/
html
;
client_max_body_size
512
m
;
location
/ {
try_files
$
uri
$
uri
/ /
index
.
html
;
}
# 接口
location
/
api
/ {
proxy_pass
http
://
172
.
0
.
107
.
76
:
31001
;
proxy_read_timeout
180
s
;
}
# location /manage {
# try_files $uri $uri/ /manage/index.html;
# }
# 大屏前端
#location /DataV {
# try_files $uri $uri/ /DataV/index.html;
#}
# 报表前端
#location /Report {
# try_files $uri $uri/ /Report/index.html;
#}
# 数据报表接口配置
#location /ReportServer/ {
# proxy_pass http://172.0.107.76:31003/;
#}
# websocket
location
^~ /
websocket
{
proxy_pass
http
://
172
.
0
.
107
.
76
:
31001
/
message
/
websocket
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
proxy_read_timeout
600
s
;
}
error_page
500
502
503
504
/
50
x
.
html
;
location
= /
50
x
.
html
{
root
/
usr
/
share
/
nginx
/
html
;
}
}
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