Commit edc98ea2 by Kevin Falcone

There's no version.html/version.json in modern edxapp

This all dates from June 2013 and has been hanging out in the nginx
configuration for years unused.
parent a788a77a
- nginx:
- remove nginx_cfg - an internal variable that was really only used for the edx-release nginx site, which served version.{html,json} off of a nonstandard port. The file it served was never populated.
- Structure: edx-east - Structure: edx-east
- Deprecated the edx-east folder, playbooks now live in the top level directory instead of edx-east/playbooks. A symbolic link was added for now, but should not be relied upon. - Deprecated the edx-east folder, playbooks now live in the top level directory instead of edx-east/playbooks. A symbolic link was added for now, but should not be relied upon.
......
...@@ -141,17 +141,6 @@ nginx_ecommerce_gunicorn_hosts: ...@@ -141,17 +141,6 @@ nginx_ecommerce_gunicorn_hosts:
nginx_credentails_gunicorn_hosts: nginx_credentails_gunicorn_hosts:
- 127.0.0.1 - 127.0.0.1
nginx_cfg:
# - link - turn on
# - absent - turn off
sites_enabled:
basic_auth: link
edx_release: link
# path to version files for the basic
# nginx configuration
version_html: "{{ nginx_app_dir }}/versions.html"
version_json: "{{ nginx_app_dir }}/versions.json"
NGINX_ROBOT_RULES: [ ] NGINX_ROBOT_RULES: [ ]
NGINX_EDXAPP_EMBARGO_CIDRS: [] NGINX_EDXAPP_EMBARGO_CIDRS: []
NGINX_P3P_MESSAGE: 'CP="Open edX does not have a P3P policy."' NGINX_P3P_MESSAGE: 'CP="Open edX does not have a P3P policy."'
......
...@@ -110,7 +110,6 @@ ...@@ -110,7 +110,6 @@
mode: "{{ item.mode }}" mode: "{{ item.mode }}"
with_items: with_items:
- { src: 'etc/nginx/nginx.conf.j2', dest: '/etc/nginx/nginx.conf', group: '{{ common_web_user }}', mode: "0644" } - { src: 'etc/nginx/nginx.conf.j2', dest: '/etc/nginx/nginx.conf', group: '{{ common_web_user }}', mode: "0644" }
- { src: 'edx/app/nginx/sites-available/edx-release.j2', dest: '{{ nginx_sites_available_dir }}/edx-release', group: 'root', mode: "0600" }
- { src: 'edx/app/nginx/sites-available/maps.j2', dest: '{{ nginx_sites_available_dir }}/maps', group: 'root', mode: "0600" } - { src: 'edx/app/nginx/sites-available/maps.j2', dest: '{{ nginx_sites_available_dir }}/maps', group: 'root', mode: "0600" }
notify: restart nginx notify: restart nginx
tags: tags:
...@@ -139,7 +138,6 @@ ...@@ -139,7 +138,6 @@
group: root group: root
notify: reload nginx notify: reload nginx
with_items: with_items:
- "edx-release"
- "maps" - "maps"
tags: tags:
- install - install
......
server {
listen 8099 default_server;
location = /versions.html {
alias {{ nginx_cfg.version_html }};
}
location = /versions.json {
alias {{ nginx_cfg.version_json }};
}
}
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