summaryrefslogtreecommitdiffstats
path: root/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf
diff options
context:
space:
mode:
authorLouis Matthijssen <louis@u5r.nl>2018-09-07 22:47:49 +0200
committerLouis Matthijssen <louis@u5r.nl>2018-09-11 19:38:17 +0200
commita31db79ae9b6d5fefd3d38e98973310609bd0781 (patch)
tree8f79b1a879a0b00b9a1095c9c7ca78923059e416 /.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf
parent1a41584c282f0ca03b03a288346a524720d265fd (diff)
Add Referrer-Policy header examples for nginx
Diffstat (limited to '.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf')
-rw-r--r--.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf
index 6762e947..518f104d 100644
--- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf
+++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf
@@ -55,6 +55,7 @@ http {
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
+ add_header Referrer-Policy no-referrer;
root /var/www/html;
@@ -145,6 +146,8 @@ http {
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
+ add_header Referrer-Policy no-referrer;
+
# Optional: Don't log access to assets
access_log off;
}