Updated nginx
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
|
||||
|
||||
worker_processes auto;
|
||||
error_log /var/opt/rh/rh-nginx112/log/nginx/error.log;
|
||||
pid /var/opt/rh/rh-nginx112/run/nginx/nginx.pid;
|
||||
error_log /var/opt/rh/rh-nginx116/log/nginx/error.log;
|
||||
pid /var/opt/rh/rh-nginx116/run/nginx/nginx.pid;
|
||||
|
||||
# Load dynamic modules. See /opt/rh/rh-nginx112/root/usr/share/doc/README.dynamic.
|
||||
include /opt/rh/rh-nginx112/root/usr/share/nginx/modules/*.conf;
|
||||
# Load dynamic modules. See /opt/rh/rh-nginx116/root/usr/share/doc/README.dynamic.
|
||||
include /opt/rh/rh-nginx116/root/usr/share/nginx/modules/*.conf;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
@@ -19,7 +19,7 @@ http {
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/opt/rh/rh-nginx112/log/nginx/access.log main;
|
||||
access_log /var/opt/rh/rh-nginx116/log/nginx/access.log main;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
@@ -33,7 +33,7 @@ http {
|
||||
gzip_comp_level 6;
|
||||
gzip_min_length 500;
|
||||
|
||||
include /etc/opt/rh/rh-nginx112/nginx/mime.types;
|
||||
include /etc/opt/rh/rh-nginx116/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
# Load modular configuration files from the /etc/nginx/conf.d directory.
|
||||
|
||||
4
openshift/dev/Jenkinsfile
vendored
4
openshift/dev/Jenkinsfile
vendored
@@ -101,8 +101,8 @@ pipeline {
|
||||
sh '''
|
||||
npm run build:pega
|
||||
|
||||
cp nginx/nginx.conf ${NGINX_PATH}
|
||||
#cp -r nginx/* ${NGINX_PATH}
|
||||
#cp nginx/nginx.conf ${NGINX_PATH}
|
||||
cp -r nginx/* ${NGINX_PATH}
|
||||
'''
|
||||
|
||||
echo '### Application built! ###'
|
||||
|
||||
Reference in New Issue
Block a user