mirror of https://github.com/codevalet/codevalet
Merge pull request #65 from rtyler/newjob-10
Forbid the use of the Classic Jenkins Job creation UI
This commit is contained in:
commit
4d76b976e4
|
@ -11,6 +11,12 @@ server {
|
||||||
return 301 /blue/pipelines;
|
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 / {
|
location / {
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
|
|
Loading…
Reference in New Issue