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
edx
configuration
Commits
3b1faf4f
Commit
3b1faf4f
authored
Oct 11, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
combining backend templates
parent
0ad6ab5c
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
18 deletions
+15
-18
playbooks/roles/nginx/tasks/nginx_site.yml
+0
-6
playbooks/roles/nginx/templates/cms-backend.j2
+0
-4
playbooks/roles/nginx/templates/cms.j2
+5
-0
playbooks/roles/nginx/templates/lms-backend.j2
+0
-4
playbooks/roles/nginx/templates/lms-preview-backend.j2
+0
-4
playbooks/roles/nginx/templates/lms-preview.j2
+5
-0
playbooks/roles/nginx/templates/lms.j2
+5
-0
No files found.
playbooks/roles/nginx/tasks/nginx_site.yml
View file @
3b1faf4f
...
...
@@ -2,13 +2,7 @@
---
-
name
:
nginx | Copying nginx config {{ site_name }}
template
:
src={{ item }} dest=/etc/nginx/sites-available/{{ site_name }} owner=root group=root mode=0600
first_available_file
:
-
"
{{
local_dir
}}/nginx/templates/{{
template_subdir
}}/{{
site_name
}}.j2"
-
"
{{
local_dir
}}/nginx/templates/{{
site_name
}}.j2"
# seems like paths in first_available_file must be relative to the playbooks dir
-
"
roles/nginx/templates/{{
site_name
}}.j2"
notify
:
nginx | restart nginx
when
:
nginx_role_run is defined
tags
:
-
nginx
-
lms
...
...
playbooks/roles/nginx/templates/cms-backend.j2
deleted
100644 → 0
View file @
0ad6ab5c
upstream cms-backend {
# For a TCP configuration:
server 127.0.0.1:8010 fail_timeout=0;
}
playbooks/roles/nginx/templates/cms.j2
View file @
3b1faf4f
upstream cms-backend {
# For a TCP configuration:
server 127.0.0.1:{{ edxapp_cms_app_port }} fail_timeout=0;
}
server {
# CMS configuration file for nginx, templated by ansible
...
...
playbooks/roles/nginx/templates/lms-backend.j2
deleted
100644 → 0
View file @
0ad6ab5c
upstream lms-backend {
# For a TCP configuration:
server 127.0.0.1:8000 fail_timeout=0;
}
playbooks/roles/nginx/templates/lms-preview-backend.j2
deleted
100644 → 0
View file @
0ad6ab5c
upstream lms-preview-backend {
# For a TCP configuration:
server 127.0.0.1:8020 fail_timeout=0;
}
playbooks/roles/nginx/templates/lms-preview.j2
View file @
3b1faf4f
upstream lms-preview-backend {
# For a TCP configuration:
server 127.0.0.1:{{ edxapp_lms_preview_app_port }} fail_timeout=0;
}
server {
# LMS-preview configuration file for nginx, templated by ansible
...
...
playbooks/roles/nginx/templates/lms.j2
View file @
3b1faf4f
upstream lms-backend {
# For a TCP configuration:
server 127.0.0.1:{{ edxapp_lms_app_port }} fail_timeout=0;
}
server {
# LMS configuration file for nginx, templated by ansible
...
...
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