Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qg-dockerfiles
Commits
0f5ce008
Commit
0f5ce008
authored
Dec 12, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除nginx-gateway
parent
af051329
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
110 deletions
+0
-110
Dockerfile
baseimg/nginx-gateway/Dockerfile
+0
-36
nginx.conf
baseimg/nginx-gateway/nginx.conf
+0
-27
upstream.conf
baseimg/nginx-gateway/upstream.conf
+0
-47
No files found.
baseimg/nginx-gateway/Dockerfile
deleted
100644 → 0
View file @
af051329
FROM
nginx
MAINTAINER
kalvin "dekun.dai@quantgroup.cn"
# #替换源
WORKDIR
/etc/apt/
RUN
mv
sources.list /tmp
RUN
echo
deb http://mirrors.163.com/debian/ stretch main non-free contrib
>>
sources.list
\
&&
echo
deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib
>>
sources.list
\
&&
echo
deb-src http://mirrors.163.com/debian/ stretch main non-free contrib
>>
sources.list
\
&&
echo
deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib
>>
sources.list
\
&&
echo
deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
>>
sources.list
\
&&
echo
deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
>>
sources.list
RUN
apt-get update
\
&&
apt-get
install
--assume-yes
--no-install-recommends
\
apt-transport-https
\
iputils-ping
\
build-essential
\
bzip2
\
curl
\
git
\
rlwrap
\
vim
\
&&
curl
-sL
https://deb.nodesource.com/setup_6.x | bash -
\
&&
apt-get
install
--assume-yes
--no-install-recommends
nodejs
\
&&
apt-get clean
EXPOSE
80
EXPOSE
443
VOLUME
/etc/nginx/conf.d/
COPY
nginx.conf /etc/nginx/nginx.conf
COPY
upstream.conf /etc/nginx/conf.d/
CMD
nginx -g 'daemon off;'
\ No newline at end of file
baseimg/nginx-gateway/nginx.conf
deleted
100644 → 0
View file @
af051329
user
nginx
;
worker_processes
1
;
error_log
/var/log/nginx/error.log
warn
;
pid
/var/run/nginx.pid
;
events
{
worker_connections
1024
;
}
http
{
include
/etc/nginx/mime.types
;
default_type
application/octet-stream
;
log_format
main
'
$remote_addr
-
$remote_user
[
$time_local
]
"
$request
"
'
'
$status
$body_bytes_sent
"
$http_referer
"
'
'"
$http_user_agent
"
"
$http_x_forwarded_for
"'
;
access_log
/var/log/nginx/access.log
main
;
server_names_hash_bucket_size
64
;
sendfile
on
;
keepalive_timeout
65
;
include
/etc/nginx/conf.d/*.conf
;
}
\ No newline at end of file
baseimg/nginx-gateway/upstream.conf
deleted
100644 → 0
View file @
af051329
upstream
merchant
-
backend
{
server
merchant
-
backend
:
7038
;
}
server
{
listen
80
;
server_name
merchantapi
.
xyqb
.
com
;
location
/ {
proxy_pass
http
://
merchant
-
backend
;
}
}
upstream
merchant
-
op
-
ui
{
server
merchant
-
op
-
ui
:
7039
;
}
server
{
listen
80
;
server_name
merchant
.
xyqb
.
com
;
location
/ {
proxy_pass
http
://
merchant
-
op
-
ui
;
}
}
upstream
baitiao
{
server
baitiao
:
7025
;
}
server
{
listen
80
;
server_name
btapi
.
xyqb
.
com
;
location
/ {
proxy_pass
http
://
baitiao
;
}
}
upstream
bt
-
ui
{
server
bt
-
ui
:
7050
;
}
server
{
listen
80
;
server_name
bt
.
xyqb
.
com
;
location
/ {
proxy_pass
http
://
bt
-
ui
;
}
}
\ 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