Merge branch 'fix_api_duplicated_headers' into 'master'
Fix api duplicated headers See merge request isard/isard-sso!6
commit
dcd3e9ebf0
|
@ -20,7 +20,7 @@ server {
|
||||||
|
|
||||||
location /json {
|
location /json {
|
||||||
alias /api/api/static/templates/header.json;
|
alias /api/api/static/templates/header.json;
|
||||||
add_header Content-Type application/json;
|
default_type application/json;
|
||||||
index header.json;
|
index header.json;
|
||||||
expires max;
|
expires max;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
@ -29,7 +29,7 @@ server {
|
||||||
|
|
||||||
location /header/html {
|
location /header/html {
|
||||||
alias /api/api/static/templates/header.html;
|
alias /api/api/static/templates/header.html;
|
||||||
add_header Content-Type text/html;
|
default_type text/html;
|
||||||
index header.html;
|
index header.html;
|
||||||
expires max;
|
expires max;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
@ -38,7 +38,7 @@ server {
|
||||||
|
|
||||||
location /header/html/nextcloud {
|
location /header/html/nextcloud {
|
||||||
alias /api/api/static/templates/header_nextcloud.html;
|
alias /api/api/static/templates/header_nextcloud.html;
|
||||||
add_header Content-Type text/html;
|
default_type text/html;
|
||||||
index header_nextcloud.html
|
index header_nextcloud.html
|
||||||
expires max;
|
expires max;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
|
Loading…
Reference in New Issue