Skip to content

Commit

Permalink
add redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
reschandreas committed Jan 11, 2024
1 parent 13082aa commit 99ae6ad
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions deployment/nginx/nginx/aeolus-nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ upstream aeolus {
server aeolus-api:8090;
}

upstream aeolus-playground {
server playground:80;
}

# Remove nginx version from HTTP response
server_tokens off;

Expand All @@ -20,6 +24,23 @@ server {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

location /api {
proxy_pass http://aeolus-api;
}

location /openapi.json {
proxy_pass http://aeolus-api;
}

location /docs {
proxy_pass http://aeolus-api;
}

location / {
proxy_pass http://aeolus-playground;
}

server_name _;

ssl_certificate /certs/fullchain.pem;
Expand Down

0 comments on commit 99ae6ad

Please sign in to comment.