Skip to content

Commit

Permalink
[catalog] update production (#4302)
Browse files Browse the repository at this point in the history
* migrate to new postgresql server

* comment out bionic vms

* upgrade all vms to jammy

* fix nginx warnings

related to #4090
  • Loading branch information
kayiwa committed Oct 3, 2023
1 parent 94fcb7c commit b3dddbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion group_vars/orangelight/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ passenger_app_env: "production"
passenger_server_name: "catalog-alma.*"
postgres_admin_password: '{{ vault_postgres_admin_password }}'
postgres_admin_user: "postgres"
postgres_host: "lib-postgres-prod3.princeton.edu"
postgres_host: "lib-postgres-prod1.princeton.edu"
postgres_port: "5432"
rails_app_env: "production"
scsb_auth_key: "{{ vault_scsb_auth_key }}"
Expand Down
5 changes: 3 additions & 2 deletions roles/nginxplus/files/conf/http/catalog-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ upstream catalog-prod {
zone catalog-prod 64k;
server catalog1.princeton.edu max_fails=0 resolve;
server catalog2.princeton.edu max_fails=0 resolve;
# server catalog3.princeton.edu max_fails=0 resolve;
server catalog3.princeton.edu max_fails=0 resolve;
sticky learn
create=$upstream_cookie_catalogprodcookie
lookup=$cookie_catalogprodcookie
Expand All @@ -38,7 +38,8 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
http2 on;
server_name pulsearch.princeton.edu;
rewrite ^/(.*)$ https://catalog.princeton.edu/$1 permanent;

Expand Down

0 comments on commit b3dddbe

Please sign in to comment.