Skip to content

Latest commit

 

History

History
101 lines (59 loc) · 2.57 KB

File metadata and controls

101 lines (59 loc) · 2.57 KB

nginx_handler

This handler provides the following HTTP request options:

Note

This handler requires the pun-proxy-handler for redirecting the user to after the app's NGINX configuration file is generated.

Configuration

Configuration is handled by setting CGI environment variables within the Apache configuration file with the following format:

SetEnv ARG_FOR_LUA "value of argument"

OOD_USER_MAP_CMD

Absolute path to the script that maps the authenticated user name to the local user name. See ood-auth-map.

OOD_USER_ENV

Optional

Points to the CGI environment variable that stores the authenticated user name if different than REMOTE_USER.

OOD_MAP_FAIL_URI

Optional

URL the user redirected to if we fail to map the authenticated user name to a local user name. If not specified then return an error message to the user.

OOD_PUN_STAGE_CMD

Absolute path to the script that stages the PUN processes. See nginx-stage.

OOD_NGINX_URI

The base URI that namespaces this handler from the other handlers. Recommended value is /nginx.

OOD_PUN_URI

The base URI that namespaces the pun-proxy-handler from the other handlers. Recommended value is /pun.