Updated Jenkinsfile and nginx.template

This commit is contained in:
Erik Tiekstra
2021-05-04 09:00:10 +02:00
parent 87cf24ceb6
commit cd8d7cbbe1
2 changed files with 4 additions and 3 deletions

View File

@@ -64,10 +64,10 @@ http {
add_header Cache-Control "no-cache, public, must-revalidate, proxy-revalidate";
}
underscores_in_headers on;
# underscores_in_headers on;
# $RESOLVER
# JWT TOKEN
# # JWT TOKEN
# location /token/jwt/rest/idp/v0/dafa {
# proxy_pass $JWT_URL;
# }

View File

@@ -98,7 +98,8 @@ pipeline {
sh '''
npm run build:dafa
cp -r nginx/* ${DIST_PATH}.
cp -r nginx/* ${DIST_PATH}/nginx-start
'''
// Used when testing Openshift, so that we dont need to wait for build. Also put a # before npm ci above