File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,20 @@ server {
26
26
# Proxy headers. Will be overwritten if you set them in blocks.
27
27
proxy_buffers 16 32k ;
28
28
proxy_buffer_size 32k ;
29
+ proxy_pass_header Nav-Callid;
30
+ proxy_set_header Referer $http_referer ;
31
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
32
+ proxy_set_header X-Real-IP $remote_addr ;
33
+
34
+ # complete disable cache and send some debug headers
35
+ add_header X-Cache-Status $upstream_cache_status ;
36
+ add_header X-Application-Id "${APP_NAME}:${APP_VERSION}, pod=${APP_HOSTNAME}" ;
37
+ add_header Content-Security-Policy "default-src 'self'; img-src 'self' data:; font-src 'self' https://cdn.nav.no data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; connect-src 'self' https://sentry.gc.nav.no" ;
38
+ add_header X-Content-Type-Options "nosniff" ;
39
+ add_header X-XSS-Protection "1;mode=block" ;
40
+ add_header Strict-Transport-Security "max-age=31536000" ;
29
41
42
+ add_header Cache-Control $custom_cache_control ;
30
43
31
44
location = /k9/feature-toggle/toggles.json {
32
45
add_header Content-Type application/json;
You can’t perform that action at this time.
0 commit comments