Skip to content
This repository has been archived by the owner on Aug 21, 2022. It is now read-only.

Commit

Permalink
feat(reverse-proxy): pass referer header
Browse files Browse the repository at this point in the history
  • Loading branch information
saitho committed Jan 17, 2021
1 parent 0ee88fa commit 1b90ac2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/nginx/serverblock.container-reverseproxy.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
proxy_redirect off;
proxy_set_header X-Scheme $scheme;
proxy_set_header Host $host;
proxy_set_header Referer $http_referer;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
add_header Strict-Transport-Security 'max-age=15552000; includeSubDomains' always;
{% endblock %}
{% endblock %}

0 comments on commit 1b90ac2

Please sign in to comment.