Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #133 from CathalOConnorRH/INTLY-9766
Browse files Browse the repository at this point in the history
INTLY-9766 Set HSTS header
  • Loading branch information
secondsun authored Jan 2, 2021
2 parents 69fde35 + a96c5f7 commit b68f852
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ server {
listen 80;
server_name localhost;

add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";

location / {
root /usr/share/nginx/html;
index index.html index.htm;
Expand Down

0 comments on commit b68f852

Please sign in to comment.