Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions stable/artifactory/files/nginx-artifactory-conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ if ( $scheme = "http" ) {
## Application specific logs
## access_log /var/log/nginx/artifactory-access.log timing;
## error_log /var/log/nginx/artifactory-error.log;
rewrite ^/artifactory/?$ / redirect;
if ( $repo != "" ) {
rewrite ^/(v1|v2)/(.*) /artifactory/api/docker/$repo/$1/$2 break;
}
Expand Down Expand Up @@ -107,7 +106,7 @@ location / {
proxy_buffering off;
{{- end }}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
location /artifactory/ {
location /artifactory {
{{- if .Values.rtfs.enabled }}
if ($request_uri ~ ^/artifactory/service/rtfs/(.*)$ ) {
proxy_pass http://router/artifactory/service/rtfs/$1;
Expand All @@ -131,4 +130,4 @@ location / {
{{- end }}
}
}
}
}
Loading