Skip to content

Commit

Permalink
add redirects for non-neuromorphic services to nginx config, since we…
Browse files Browse the repository at this point in the history
… don't have anywhere better to put them for the time being.
  • Loading branch information
apdavison committed Dec 18, 2024
1 parent ddf55dd commit 555fa09
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions api/deployment/nginx-app-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,43 @@ server {
server_name corsproxy.hbpneuromorphic.eu;
return 301 https://corsproxy.apps.tc.humanbrainproject.eu/$request_uri;
}

server {
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/live-papers.brainsimulation.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/live-papers.brainsimulation.eu/privkey.pem;

server_name live-papers.brainsimulation.eu;
return 301 https://live-papers.apps.ebrains.eu/$request_uri;
}

server {
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/model-catalog.brainsimulation.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/model-catalog.brainsimulation.eu/privkey.pem;

server_name model-catalog.brainsimulation.eu;
return 301 https://model-catalog.apps.ebrains.eu/$request_uri;
}

server {
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/validation.brainsimulation.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/validation.brainsimulation.eu/privkey.pem;

server_name validation.brainsimulation.eu;
return 301 https://model-validation-api.apps.ebrains.eu/$request_uri;
}

server {
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/prov.brainsimulation.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/prov.brainsimulation.eu/privkey.pem;

server_name prov.brainsimulation.eu;
return 301 https://prov-api.apps.tc.humanbrainproject.eu/;
}

0 comments on commit 555fa09

Please sign in to comment.