Skip to content

Commit

Permalink
fix #528 add security.txt to nginx config (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
moellep authored Feb 17, 2025
1 parent ef8052e commit 0552845
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rsconf/package_data/sirepo/tornado_nginx.conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ server {
location = /robots.txt {
rewrite (.*) /static/robots.txt;
}
location = /security.txt {
rewrite (.*) /static/security.txt;
}
{% if sirepo.wordpress_host %}
{# legacy redirects #}
location = /en/xray-beamlines.html {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@ server {
location = /robots.txt {
rewrite (.*) /static/robots.txt;
}
location = /security.txt {
rewrite (.*) /static/security.txt;
}
}

0 comments on commit 0552845

Please sign in to comment.