root 2021-05-27 00:44:27 +02:00
commit 0bb8878eef
2 changed files with 5 additions and 3 deletions

View File

@ -20,7 +20,7 @@ server {
location /json {
alias /api/api/static/templates/header.json;
add_header Content-Type application/json;
default_type application/json;
index header.json;
expires max;
log_not_found off;
@ -29,7 +29,7 @@ server {
location /header/html {
alias /api/api/static/templates/header.html;
add_header Content-Type text/html;
default_type text/html;
index header.html;
expires max;
log_not_found off;
@ -38,7 +38,7 @@ server {
location /header/html/nextcloud {
alias /api/api/static/templates/header_nextcloud.html;
add_header Content-Type text/html;
default_type text/html;
index header_nextcloud.html
expires max;
log_not_found off;

View File

@ -6,6 +6,7 @@ global
daemon
log 127.0.0.1 local0
tune.ssl.default-dh-param 2048
h1-case-adjust content-type Content-Type
defaults
mode http
@ -21,6 +22,7 @@ global
backlog 4096
maxconn 2000
option tcpka
option h1-case-adjust-bogus-client
frontend website
mode http