We no longer need to redirect / to /api/v1/, there's an index now

The API demo redirected / to /api/v1 for convenience but we no longer
need to do it since there's a new index now.

Change-Id: Ice4755a82ef4a3abb6b82aad94d812bdd4339677
This commit is contained in:
David Moreau Simard 2019-05-16 08:56:13 -04:00
parent ef9ac37cdb
commit 0cdc1edf19
No known key found for this signature in database
GPG Key ID: CBEB466764A9E621
1 changed files with 0 additions and 5 deletions

View File

@ -24,11 +24,6 @@ server {
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
# There's nothing at /, redirect it to the actual API for convenience
location / {
return 301 http://{{ ara_api_fqdn }}/api/v1/;
}
location /static {
expires 7d;
add_header Cache-Control "public";