Skip to content

Commit

Permalink
Merge pull request #1071 from SUSE/noauthLicense
Browse files Browse the repository at this point in the history
Disable authentication for license files
  • Loading branch information
felixsch authored Feb 8, 2024
2 parents a11c054 + 2690252 commit 077e78e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package/files/nginx-pubcloud/nginx-https.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ server {
autoindex off;
}

# no authentication for license files
location ~ ^.*/product.license/.*$ {
autoindex on;
log_not_found off;
}

location /repo {
autoindex on;
log_not_found off;
Expand Down

0 comments on commit 077e78e

Please sign in to comment.