-
Notifications
You must be signed in to change notification settings - Fork 55
Passenger Ruby Report App Tutorial
Eric Franz edited this page Sep 13, 2017
·
14 revisions
**Note: this is a DRAFT of a tutorial that will be moved to **
This is a description. TODO.
Ruby example
def foo
"bar"
end
-
a regular expression that best describes all the hosts that you would want a user to connect to through the proxy (e.g.,
[\w.-]+\.osc\.edu
) -
confirm that if you run the command
hostname
from a compute node it will return a string that matches the above regular expressionRuby example:
def foo "bar" end
Yaml example:
# /etc/ood/config/clusters.d/cluster1.yml --- v2: # ... # ... other configuration options ... # ... batch_connect: basic: # ... # set_host: "host=$(hostname)" set_host: "host=$(hostname -A | awk '{print $1}')" vnc: # ... # set_host: "host=$(hostname)" set_host: "host=$(hostname -A | awk '{print $1}')"
-
We will update the Apache configuration file by adding
Location
directives that will be used for the reverse proxy. This requires modifying the configuration file for the :ref:`ood-portal-generator`.cd ~/ood/src/ood-portal-generator
-
Something... Another thing.
-
Re-build the Apache config: