Skip to content

Commit

Permalink
Disable authentication for license files
Browse files Browse the repository at this point in the history
We want to have a where the client, for example SUSEConnect, can display
license information to the user prior to registering a specific module or
product. With the intend to have this display prior to registration
the license file to be displayed cannot be in a path that requires
authentication. Update the nginx configuration for Public Cloud setup to
skip authentication for the license path.
  • Loading branch information
rjschwei committed Jan 19, 2024
1 parent 9145722 commit c7cb42c
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 c7cb42c

Please sign in to comment.