Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lhfe
mould-vuecli3
Commits
b4f36a7b
Commit
b4f36a7b
authored
Oct 11, 2020
by
lipengcheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: docker
parent
5c0e69de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
Dockerfile
Dockerfile
+3
-0
mouldvuecli3.conf
mouldvuecli3.conf
+17
-0
No files found.
Dockerfile
0 → 100644
View file @
b4f36a7b
FROM
nginx
COPY
dist/ /www/docker-mouldvuecli3
COPY
mouldvuecli3.conf /etc/nginx/conf.d/
mouldvuecli3.conf
0 → 100644
View file @
b4f36a7b
server
{
listen
80
;
server_name
localhost
;
location
/ {
root
/
www
/
docker
-
mouldvuecli3
;
try_files
$
uri
$
uri
/ /
index
.
html
;
index
index
.
html
;
}
location
/
webapi
{
# rewrite ^/webapi/(.*)$ /$1 break;
include
uwsgi_params
;
proxy_set_header
Host
$
host
;
proxy_set_header
x
-
forwarded
-
for
$
remote_addr
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_pass
https
://
test2
.
laihua
.
com
;
}
}
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