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
453198e5
Commit
453198e5
authored
Dec 18, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nginx
parent
6f777ad0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
Dockerfile
baseimg/openresty/Dockerfile
+1
-1
nginx.conf
baseimg/openresty/nginx.conf
+27
-0
No files found.
baseimg/openresty/Dockerfile
View file @
453198e5
...
@@ -42,7 +42,7 @@ ENV PATH=$PATH:/usr/local/openresty/luajit/bin/:/usr/local/openresty/nginx/sbin/
...
@@ -42,7 +42,7 @@ ENV PATH=$PATH:/usr/local/openresty/luajit/bin/:/usr/local/openresty/nginx/sbin/
# Copy nginx configuration files
# Copy nginx configuration files
COPY
nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
COPY
nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
COPY
nginx.vh.default.conf /etc/nginx/conf.d/default.conf
#
COPY nginx.vh.default.conf /etc/nginx/conf.d/default.conf
EXPOSE
80 443 3000 9001
EXPOSE
80 443 3000 9001
...
...
baseimg/openresty/nginx.conf
0 → 100644
View file @
453198e5
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
;
}
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