Skip to content

Commit

Permalink
Removed deprecated http2 to reduce noise of nginxplus test (#5765)
Browse files Browse the repository at this point in the history
ran `perl -pi -e 's/listen 443 ssl http2/listen 443 ssl/g'
git/princeton_ansible/roles/nginxplus/files/conf/http/*.conf` to remove
http2 from .conf files.
  • Loading branch information
Beck-Davis authored Jan 21, 2025
1 parent 0102092 commit e1d73f2
Show file tree
Hide file tree
Showing 34 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/figgy-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name figgy.princeton.edu;

client_max_body_size 0;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/figgy-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name figgy-staging.princeton.edu;

client_max_body_size 0;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/imagecat_staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name imagecat-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/imagecat-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/lae-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name lae-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/lae-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/lib-jobs-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name lib-jobs-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/lib-jobs-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/lib-sc-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name lib-sc-prod.princeton.edu;

client_max_body_size 8m;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name lockers-and-study-spaces-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/lockers-and-study-spaces-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/maps-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name maps.princeton.edu;

ssl_certificate /etc/letsencrypt/live/maps/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/maps-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name maps-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/maps-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/oawaiver-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name oawaiver.princeton.edu;

ssl_certificate /etc/letsencrypt/live/oawaiver/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/oawaiver-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name oawaiver-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/oawaiver-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/ojs-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name ojs-prod.princeton.edu;

ssl_certificate /etc/letsencrypt/live/ojs-prod/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/ojs-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name ojs-staging.princeton.edu;
client_max_body_size 75M;

Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/pdc-describe_prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pdc-describe-prod.princeton.edu;

ssl_certificate /etc/letsencrypt/live/pdc-describe-prod/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/pdc-describe_staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pdc-describe-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/pdc-describe-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/pdc-discovery_prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pdc-discovery-prod.princeton.edu;

ssl_certificate /etc/letsencrypt/live/datacommons/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/pdc-discovery_staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pdc-discovery-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/pdc-discovery-staging/fullchain.pem;
Expand Down
4 changes: 2 additions & 2 deletions roles/nginxplus/files/conf/http/pudl_prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ server {
}

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

Expand All @@ -31,7 +31,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pudl.princeton.edu;

client_max_body_size 8m;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/pulcheck_staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pulcheck-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/pulcheck-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/pulfa_old.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pulfa.princeton.edu;


Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/pulfalight-qa.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name findingaids-qa.princeton.edu;

ssl_certificate /etc/letsencrypt/live/findingaids-qa/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/pulmonitor_staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pulmonitor-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/pulmonitor-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/rbsc-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name rbsc.princeton.edu;
rewrite ^/(.*)$ https://library.princeton.edu/special-collections/$1 permanent;

Expand Down
4 changes: 2 additions & 2 deletions roles/nginxplus/files/conf/http/recap-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name recap.princeton.edu;

ssl_certificate /etc/letsencrypt/live/recap/fullchain.pem;
Expand All @@ -43,7 +43,7 @@ server {

}
server {
listen 443 ssl http2;
listen 443 ssl;
server_name recap-prod.princeton.edu;
rewrite ^/(.*)$ https://recap.princeton.edu/$1 permanent;
}
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/recap-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name recap-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/recap-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/repec-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name repec-prod.princeton.edu;

ssl_certificate /etc/letsencrypt/live/repec-prod/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/repec-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name repec-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/repec-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/slavery-dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name slavery-dev.princeton.edu;

ssl_certificate /etc/letsencrypt/live/slavery-dev/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/slavery-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name slavery.princeton.edu;

ssl_certificate /etc/letsencrypt/live/slavery/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/slavery-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name slavery-staging.princeton.edu;

ssl_certificate /etc/letsencrypt/live/slavery-staging/fullchain.pem;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/svn-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pulibrary-svn.princeton.edu;

client_max_body_size 8m;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/svn-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name pulibrary-svn-staging.princeton.edu;

client_max_body_size 8m;
Expand Down
2 changes: 1 addition & 1 deletion roles/nginxplus/files/conf/http/towerdeploy_prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name towerdeploy.princeton.edu;

ssl_certificate /etc/letsencrypt/live/towerdeploy/fullchain.pem;
Expand Down
6 changes: 3 additions & 3 deletions roles/nginxplus/files/conf/http/veridian-sites.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ server {


server {
listen 443 ssl http2;
listen 443 ssl;
server_name bluemountain.princeton.edu;

ssl_certificate /etc/letsencrypt/live/bluemountain/fullchain.pem;
Expand All @@ -81,7 +81,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name historicperiodicals.princeton.edu;

ssl_certificate /etc/letsencrypt/live/historicperiodicals/fullchain.pem;
Expand Down Expand Up @@ -126,7 +126,7 @@ server {
}

server {
listen 443 ssl http2;
listen 443 ssl;
server_name papersofprinceton.princeton.edu;

ssl_certificate /etc/letsencrypt/live/papersofprinceton/fullchain.pem;
Expand Down

0 comments on commit e1d73f2

Please sign in to comment.