Skip to content

Commit

Permalink
Add redirects for admin app, www, corsproxy from hbpneuromorphic.eu -…
Browse files Browse the repository at this point in the history
…-> ebrains.eu or *.apps.tc.humanbrainproject.eu
  • Loading branch information
apdavison committed Dec 18, 2024
1 parent 10ea0a4 commit ddf55dd
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions api/deployment/nginx-app-prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,33 @@ server {
server_name job-manager.hbpneuromorphic.eu;
return 301 https://neuromorphic-job-manager.apps.ebrains.eu/$request_uri;
}

server {
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/admin.hbpneuromorphic.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/admin.hbpneuromorphic.eu/privkey.pem;

server_name admin.hbpneuromorphic.eu;
return 301 https://adminapp.apps.tc.humanbrainproject.eu/$request_uri;
}

server {
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/www.hbpneuromorphic.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.hbpneuromorphic.eu/privkey.pem;

server_name www.hbpneuromorphic.eu;
return 301 https://www.ebrains.eu/modelling-simulation-and-computing/simulation/neuromorphic-computing-3;
}

server {
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/corsproxy.hbpneuromorphic.eu/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/corsproxy.hbpneuromorphic.eu/privkey.pem;

server_name corsproxy.hbpneuromorphic.eu;
return 301 https://corsproxy.apps.tc.humanbrainproject.eu/$request_uri;
}

0 comments on commit ddf55dd

Please sign in to comment.