fix(docker): Instruct browser not to cache swagger-initializer.js (#7960)
This commit is contained in:
@@ -38,6 +38,11 @@ http {
|
||||
alias /usr/share/nginx/html/;
|
||||
expires 1d;
|
||||
|
||||
location ~ swagger-initializer.js {
|
||||
expires -1;
|
||||
include cors.conf;
|
||||
}
|
||||
|
||||
location ~* \.(?:json|yml|yaml)$ {
|
||||
#SWAGGER_ROOT
|
||||
expires -1;
|
||||
|
||||
Reference in New Issue
Block a user