diff --git a/nginx.master.conf b/nginx.master.conf index a0dbb9f..cf4caea 100644 --- a/nginx.master.conf +++ b/nginx.master.conf @@ -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;