Forbid the use of the Classic Jenkins Job creation UI

Fixes #10
This commit is contained in:
R. Tyler Croy 2017-12-12 15:31:53 -08:00
parent f3e608f519
commit c4ade26147
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@ server {
return 301 /blue/pipelines;
}
# Only allow the usage of the Blue Ocean Pipeline creation flow.
# https://github.com/CodeValet/codevalet/issues/10
location = /newJob {
return 301 /blue/organizations/jenkins/create-pipeline;
}
location / {
proxy_redirect off;
proxy_set_header Host $http_host;