Skip to content

Commit

Permalink
allow indexing apps.grapheneos.org redirects, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed May 10, 2024
1 parent 71b10f0 commit df8064e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ http {

include snippets/security-headers.conf;
add_header Cache-Control "public";
add_header X-Robots-Tag "none" always;

if ($request_uri ~ ^[^?]+//) {
rewrite ^(.*)$ $1 permanent;
Expand Down Expand Up @@ -367,7 +366,11 @@ http {
internal;
}

location /packages {}
location /packages {
include snippets/security-headers.conf;
add_header Cache-Control "public";
add_header X-Robots-Tag "none" always;
}

location / {
return 404;
Expand Down

0 comments on commit df8064e

Please sign in to comment.