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:
parent
ef9ac37cdb
commit
0cdc1edf19
@ -24,11 +24,6 @@ server {
|
|||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
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 {
|
location /static {
|
||||||
expires 7d;
|
expires 7d;
|
||||||
add_header Cache-Control "public";
|
add_header Cache-Control "public";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user