Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flame-clmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flame
flame-clmc
Commits
90208b5f
Commit
90208b5f
authored
7 years ago
by
Rowan Powell
Browse files
Options
Downloads
Patches
Plain Diff
Added http-stub-module to NGINX configuration install
parent
c2765ca1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/services/nginx/install-nginx.sh
+15
-2
15 additions, 2 deletions
test/services/nginx/install-nginx.sh
test/services/nginx/nginx.conf
+14
-0
14 additions, 0 deletions
test/services/nginx/nginx.conf
with
29 additions
and
2 deletions
test/services/nginx/install-nginx.sh
+
15
−
2
View file @
90208b5f
...
...
@@ -31,7 +31,20 @@ yes Y | sudo apt-get install nginx
# Need to set up basic stats as this not configured by default
# http://nginx.org/en/docs/http/ngx_http_stub_status_module.html
nginx
-s
reload
sudo rm
../etc/nginx/nginx.conf
sudo cp test
/services/nginx/nginx.conf ../etc/nginx/nginx.conf
#cat test/services/nginx/nginx.conf > ../etc/nginx/nginx.conf
sudo
nginx
-s
reload
# start NGINX
systemctl start nginx
\ No newline at end of file
sudo
systemctl start nginx
# --with-http_stub_status_module
#nginx -V 2>&1 | grep -o with-http_stub_status_module
#/vagrant/../etc/nginx/nginx.config
# dpkg -l | grep -c nginx
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test/services/nginx/nginx.conf
0 → 100644
+
14
−
0
View file @
90208b5f
events
{
worker_connections
4096
;
## Default: 1024
}
http
{
server
{
location
/nginx_status
{
stub_status
on
;
access_log
off
;
allow
all
;
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment