Skip to content

Commit

Permalink
[cdh] derridas-margins (#4973)
Browse files Browse the repository at this point in the history
* allow complete 301 to https

* add derrida nfs mount
  • Loading branch information
kayiwa authored May 23, 2024
1 parent 7ff4eb8 commit c52bf08
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions group_vars/nfsserver/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ bibdata_prod1: "128.112.201.179"
bibdata_prod2: "128.112.203.79"
bibdata_worker_prod1: "128.112.203.105"
bibdata_worker_prod2: "128.112.203.109"
cdh_derrida1: "128.112.201.61"
cdh_derrida2: "128.112.201.111"
cdh_derrida_crawl1: "128.112.202.19"
cdh_derrida_crawl2: "128.112.202.104"
cdh_geniza1: "128.112.203.246"
cdh_geniza2: "128.112.200.119"
cdh_prosody1: "128.112.204.83"
Expand Down Expand Up @@ -86,6 +90,34 @@ nfsserver_exports:
- no_wdelay
- share: "{{ cdh_fileshare_mount }}"
hosts:
- name: "{{ cdh_derrida1 }}"
options:
- rw
- sync
- no_subtree_check
- no_root_squash
- no_wdelay
- name: "{{ cdh_derrida2 }}"
options:
- rw
- sync
- no_subtree_check
- no_root_squash
- no_wdelay
- name: "{{ cdh_derrida_crawl1 }}"
options:
- rw
- sync
- no_subtree_check
- no_root_squash
- no_wdelay
- name: "{{ cdh_derrida_crawl2 }}"
options:
- rw
- sync
- no_subtree_check
- no_root_squash
- no_wdelay
- name: "{{ cdh_geniza1 }}"
options:
- rw
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/cdh_prod_derrida.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ server {
server_name derridas-margins-beta.princeton.edu;

location / {
return 301 https://derrida-margins-beta.princeton.edu$request_uri;
return 301 https://derridas-margins-beta.princeton.edu$request_uri;
}
}

Expand Down

0 comments on commit c52bf08

Please sign in to comment.