Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
OpenEdx
configuration
Commits
3891db8c
Commit
3891db8c
authored
Aug 06, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1370 from edx/jarv/fix-nginx-param-default
defaults for nginx params
parents
29c568e5
2f2b8642
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
playbooks/roles/nginx/defaults/main.yml
+5
-0
playbooks/roles/nginx/tasks/main.yml
+0
-2
No files found.
playbooks/roles/nginx/defaults/main.yml
View file @
3891db8c
# Variables for nginx role
---
# These are paramters to the role
# and should be overridden
nginx_sites
:
[]
nginx_redirects
:
{}
NGINX_ENABLE_SSL
:
False
# Set these to real paths on your
# filesystem, otherwise nginx will
...
...
playbooks/roles/nginx/tasks/main.yml
View file @
3891db8c
...
...
@@ -80,7 +80,6 @@
owner=root group={{ common_web_user }} mode=0640
notify
:
reload nginx
with_dict
:
nginx_redirects
when
:
nginx_redirects is defined
-
name
:
Creating nginx redirect links for {{ nginx_redirects }}
file
:
>
...
...
@@ -89,7 +88,6 @@
state=link owner=root group=root
notify
:
reload nginx
with_dict
:
nginx_redirects
when
:
nginx_redirects is defined
-
name
:
Write out htpasswd file
htpasswd
:
>
...
...
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