Some checks failed
Node.js CI / build (push) Failing after 2s
Node.js CI / e2e-tests (+(a11y|security|bugs)/**/*cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/!(o|d|m)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/+(o|d)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/m*.cy.js) (push) Failing after 2s
Security scan for docker image / build (push) Failing after 8s
CodeQL / Analyze (javascript) (push) Failing after 1m10s
44 lines
871 B
Plaintext
Executable File
44 lines
871 B
Plaintext
Executable File
types {
|
|
text/plain yaml;
|
|
text/plain yml;
|
|
}
|
|
|
|
gzip on;
|
|
gzip_static on;
|
|
gzip_disable "msie6";
|
|
|
|
gzip_vary on;
|
|
gzip_types text/plain text/css application/javascript;
|
|
|
|
map $request_method $access_control_max_age {
|
|
OPTIONS 1728000; # 20 days
|
|
}
|
|
server_tokens off; # Hide Nginx version
|
|
|
|
server {
|
|
listen $PORT;
|
|
server_name localhost;
|
|
index index.html index.htm;
|
|
|
|
location $BASE_URL {
|
|
absolute_redirect off;
|
|
alias /usr/share/nginx/html/;
|
|
expires 1d;
|
|
|
|
location ~ swagger-initializer.js {
|
|
expires -1;
|
|
include templates/cors.conf;
|
|
}
|
|
|
|
location ~* \.(?:json|yml|yaml)$ {
|
|
#SWAGGER_ROOT
|
|
expires -1;
|
|
|
|
include templates/cors.conf;
|
|
}
|
|
|
|
include templates/cors.conf;
|
|
include templates/embedding.conf;
|
|
}
|
|
}
|