Commit e4ce6335 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added meta.json cache headers to generated gui nginx.conf.

parent f1f6d0e1
Pipeline #62166 failed with stages
in 16 minutes and 51 seconds
......@@ -119,6 +119,16 @@ server {{
rewrite ^{1}/gui/service-worker.js /nomad/service-worker.js break;
location {1}/gui/meta.json {{
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
expires off;
etag off;
root /app/;
rewrite ^{1}/gui/meta.json /nomad/meta.json break;
location {1}/api {{
proxy_set_header Host $host;
proxy_pass_request_headers on;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment