Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move veridian from load balancer #4712

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions roles/nginxplus/files/conf/http/veridian-sites.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ server {
}
}

server {
listen 80;
server_name theprince.princeton.edu;

location / {
return 301 https://$server_name$request_uri;
}
}

server {
listen 80;
Expand Down Expand Up @@ -102,28 +94,6 @@ server {

}

server {
listen 443 ssl;
http2 on;
server_name theprince.princeton.edu;

ssl_certificate /etc/letsencrypt/live/theprince/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/theprince/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_prefer_server_ciphers on;

location / {
proxy_pass http://veridian14;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
proxy_cache veridiancache;
# health_check interval=10 fails=3 passes=2;
proxy_intercept_errors on;
}

include /etc/nginx/conf.d/templates/errors.conf;

}

server {
listen 443 ssl http2;
Expand Down
Loading