Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
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
吴迪
gs1
Commits
9c7bf7ec
Commit
9c7bf7ec
authored
Nov 30, 2021
by
Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
镜像配置修改
parent
f62c5d85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Dockerfile
Dockerfile
+2
-2
nginx.conf
nginx.conf
+1
-1
No files found.
Dockerfile
View file @
9c7bf7ec
FROM
nginx
FROM
nginx
RUN
rm
-rf
/usr/share/nginx/html/
*
#
RUN rm -rf /usr/share/nginx/html/*
RUN
rm
-rf
/etc/nginx/conf.d/
*
RUN
rm
-rf
/etc/nginx/conf.d/
*
COPY
dist /usr/share/nginx/html
#
COPY dist /usr/share/nginx/html
COPY
nginx.conf /etc/nginx/conf.d/
COPY
nginx.conf /etc/nginx/conf.d/
COPY
docker-entrypoint.sh /usr/local/bin/
COPY
docker-entrypoint.sh /usr/local/bin/
...
...
nginx.conf
View file @
9c7bf7ec
...
@@ -12,7 +12,7 @@ gzip_vary on;
...
@@ -12,7 +12,7 @@ gzip_vary on;
gzip_disable
"MSIE
[1-6]
\
."
;
gzip_disable
"MSIE
[1-6]
\
."
;
server
{
server
{
listen
808
8
;
listen
808
0
;
server_name
81
.68.189.225
;
server_name
81
.68.189.225
;
location
/
{
location
/
{
root
/usr/share/nginx/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