Skip to content

Current conf does not support path_info #69

@andybellenie

Description

@andybellenie

This should be added to the lucee proxy_pass to enable path_info to be passed to tomcat for SES URLs.

# Enable path_info - http://www.lucee.nl/post.cfm/enable-path-info-on-nginx-with-lucee-and-railo
  set $pathinfo "";
  # if the extension .cfm or .cfc is found, followed by a slash and optional extra
  if ($uri ~ "^(.+?\.cf[mc])(/.*)") {
      # remember the filepath without path_info
      set $script $1;
      set $pathinfo $2;
      # rewrite the url to match the filepath wthout path_info
      rewrite ^.+$ $script break;
  }
  # set the custom path_info header
  proxy_set_header XAJP-PATH-INFO $pathinfo;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions