-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #483 from azavea/feature/hmc/http-to-https
Add support for redirecting HTTP to HTTPS
- Loading branch information
Showing
15 changed files
with
145 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
- hosts: app | ||
sudo: True | ||
become: True | ||
|
||
pre_tasks: | ||
- name: Update APT cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
- hosts: database | ||
sudo: True | ||
become: True | ||
|
||
pre_tasks: | ||
- name: Update APT cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
- hosts: otp | ||
sudo: True | ||
become: True | ||
|
||
pre_tasks: | ||
- name: Update APT cache | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
- src: azavea.git | ||
version: 0.1.0 | ||
|
||
- src: azavea.java | ||
version: 0.2.6 | ||
|
||
- src: azavea.opentripplanner | ||
version: 1.0.1 | ||
|
||
- src: azavea.nginx | ||
version: 0.2.2 | ||
|
||
- src: azavea.nodejs | ||
version: 0.4.0 | ||
|
||
- src: azavea.packer | ||
version: 0.2.0 | ||
|
||
- src: azavea.papertrail | ||
version: 1.1.1 | ||
|
||
- src: azavea.pip | ||
version: 0.1.1 | ||
|
||
- src: azavea.python | ||
version: 0.1.0 | ||
|
||
- src: azavea.virtualenv | ||
version: 0.1.0 | ||
|
||
- src: azavea.postgresql-support | ||
version: 0.3.0 |
12 changes: 6 additions & 6 deletions
12
deployment/ansible/roles/cac-tripplanner.app/tasks/jslibs.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
--- | ||
- name: Clear out the NPM artifacts when in production (want a fresh set) | ||
file: path="{{ root_src_dir }}/node_modules" state=absent | ||
sudo: yes | ||
become: yes | ||
when: production | ||
|
||
- name: Install NPM dependencies | ||
command: npm install chdir="{{ root_src_dir }}" | ||
sudo: no | ||
become: no | ||
|
||
- name: Create Static Directory | ||
file: path="{{ root_static_dir }}" state=directory mode=0755 owner="{{ app_username }}" | ||
sudo: yes | ||
become: yes | ||
|
||
- name: Install application javascript dependencies with bower | ||
command: npm run bower-install | ||
sudo: no | ||
become: no | ||
args: | ||
chdir: "{{ root_src_dir }}" | ||
|
||
- name: Create static files -- development | ||
command: npm run gulp-development | ||
sudo: no | ||
become: no | ||
args: | ||
chdir: "{{ root_src_dir }}" | ||
when: not production and not test | ||
|
||
- name: Create static files -- production | ||
command: npm run gulp-production | ||
sudo: no | ||
become: no | ||
args: | ||
chdir: "{{ root_src_dir }}" | ||
when: production or test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 39 additions & 4 deletions
43
deployment/ansible/roles/cac-tripplanner.app/templates/nginx-default.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters