Skip to content

Commit

Permalink
Fixes paths for nginx on Ubuntu 20 (#188)
Browse files Browse the repository at this point in the history
* fixes nginx_root path for Ubuntu 20

* Fixes nginx path for Ubuntu 20

* update fixture files

---------

Co-authored-by: Jeff Ohrstrom <[email protected]>
  • Loading branch information
julozi and johrstrom authored Jun 7, 2023
1 parent 45e3460 commit 385d4ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ proxy_user: "www-data"

# Path to NGINX executable used by OnDemand
#
nginx_bin: "/opt/rh/ondemand/root/sbin/nginx"
nginx_bin: "/opt/ood/ondemand/root/usr/sbin/nginx"

# White-list of signals that can be sent to the NGINX process
#
Expand All @@ -74,7 +74,7 @@ nginx_bin: "/opt/rh/ondemand/root/sbin/nginx"

# Path to NGINX 'mime.types' file used by OnDemand
#
mime_types_path: "/opt/rh/ondemand/root/etc/nginx/mime.types"
mime_types_path: "/opt/ood/ondemand/root/etc/nginx/mime.types"

# Path to Passenger 'locations.ini' file used by OnDemand.
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ proxy_user: "www-data"

# Path to NGINX executable used by OnDemand
#
nginx_bin: "/opt/rh/ondemand/root/sbin/nginx"
nginx_bin: "/opt/ood/ondemand/root/usr/sbin/nginx"

# White-list of signals that can be sent to the NGINX process
#
Expand All @@ -71,7 +71,7 @@ nginx_bin: "/opt/rh/ondemand/root/sbin/nginx"

# Path to NGINX 'mime.types' file used by OnDemand
#
mime_types_path: "/opt/rh/ondemand/root/etc/nginx/mime.types"
mime_types_path: "/opt/ood/ondemand/root/etc/nginx/mime.types"

# Path to Passenger 'locations.ini' file used by OnDemand.
#
Expand Down
4 changes: 2 additions & 2 deletions vars/Ubuntu/20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ruby_lib_dir: "/usr/lib/x86_64-linux-gnu/ruby/2.7.0"

additional_rpm_installs: []

nginx_root: "/opt/rh/ondemand/root"
nginx_bin: "{{ nginx_root }}/sbin/nginx"
nginx_root: "/opt/ood/ondemand/root"
nginx_bin: "{{ nginx_root }}/usr/sbin/nginx"
nginx_mime_types: "{{ nginx_root }}/etc/nginx/mime.types"
locations_ini: "/opt/ood/ondemand/root/usr/share/ruby/vendor_ruby/phusion_passenger/locations.ini"

0 comments on commit 385d4ee

Please sign in to comment.