Commit 5a6e8563 by John Jarvis

Merge pull request #1459 from edx/jarv/default-for-redirects

setting default port to the lms port
parents ffadc886 eb962456
......@@ -5,10 +5,10 @@
{%- endif -%}
server {
listen 80 {{ default_site }};
listen {{ EDXAPP_LMS_NGINX_PORT }} {{ default_site }};
{% if "ssl" in item.value and item.value['ssl'] == true -%}
listen 443 {{ default_site }} ssl;
listen {{ EDXAPP_LMS_SSL_NGINX_PORT }} {{ default_site }} ssl;
ssl_certificate /etc/ssl/certs/{{ NGINX_SSL_CERTIFICATE|basename }};
ssl_certificate_key /etc/ssl/private/{{ NGINX_SSL_KEY|basename }};
{% endif -%}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment