Skip to content

Commit

Permalink
firmware: make new firmware redirect public
Browse files Browse the repository at this point in the history
  • Loading branch information
grische committed Dec 23, 2024
1 parent fdfdc5b commit 71623db
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions nginx/domains/firmware.ffmuc.net.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ server {
}

# temporary location to test the new firmware redirect feature
location ~ ^/(stable|testing|experimental)-debug/ {
location ~ ^/(stable|testing|experimental)/ {
# for accessing it e.g. via ffmuc.net/firmware
add_header Access-Control-Allow-Origin "*";

Expand All @@ -89,13 +89,7 @@ server {
break;
}

rewrite ^/(stable|testing|experimental)-debug/(.*) /$targetDirectory/$1/$2 redirect;
}


location ~ ^/(stable|testing|experimental)/ {
# for accessing it e.g. via ffmuc.net/firmware
add_header Access-Control-Allow-Origin "*";
rewrite ^/(stable|testing|experimental)/(.*) /$targetDirectory/$1/$2 redirect;
}

location ^~ /.well-known/acme-challenge/ {
Expand Down

0 comments on commit 71623db

Please sign in to comment.