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
be3b95ca
Unverified
Commit
be3b95ca
authored
8 years ago
by
Fred Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use hostname variable, expect it to be overrriden
parent
b1b887ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
playbooks/roles/neo4j/defaults/main.yml
+1
-2
playbooks/roles/neo4j/templates/edx/app/nginx/sites-available/coursegraph.j2
+2
-4
No files found.
playbooks/roles/neo4j/defaults/main.yml
View file @
be3b95ca
...
...
@@ -16,8 +16,7 @@
#
# vars are namespaced with the module name.
#
neo4j_role_name
:
neo4j
neo4j_server_name
:
"
coursegraph.edx.org"
NEO4J_SERVER_NAME
:
"
localhost"
neo4j_gpg_key_url
:
https://debian.neo4j.org/neotechnology.gpg.key
neo4j_apt_repository
:
"
deb
http://debian.neo4j.org/repo
stable/"
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/neo4j/templates/edx/app/nginx/sites-available/coursegraph.j2
View file @
be3b95ca
...
...
@@ -10,8 +10,7 @@
{% endif %}
server {
# server_name {{ neo4j_server_name }};
server_name localhost;
server_name {{ NEO4J_SERVER_NAME }};
{% if NGINX_ENABLE_SSL %}
...
...
@@ -22,7 +21,6 @@ server {
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
{% else %}
# listen {{ neo4j_http_port }} {{ default_site }};
listen 80 {{ default_site }};
{% endif %}
...
...
@@ -38,7 +36,7 @@ server {
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://127.0.0.1:
7473
;
proxy_pass http://127.0.0.1:
{{ neo4j_http_port }}
;
}
# Forward to HTTPS if we're an HTTP request...
...
...
This diff is collapsed.
Click to expand it.
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