Skip to content

Commit

Permalink
Updated comments in lucee-proxy.conf and sites-available/example.com.…
Browse files Browse the repository at this point in the history
  • Loading branch information
paulklinkenberg committed Sep 11, 2015
1 parent d862c3a commit 71d1fc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
1 change: 1 addition & 0 deletions etc/nginx/lucee-proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ proxy_set_header https $cgi_https;
#add headers for mod_cfml to do its work
proxy_set_header X-Tomcat-DocRoot $document_root;
proxy_set_header X-ModCFML-SharedKey SHARED-KEY-HERE;
# For more info on $lucee_context, see http://www.modcfml.org/index.cfm/install/web-server-components/nginx-all-os/
if ($lucee_context = false) {
set $lucee_context $document_root;
};
Expand Down
19 changes: 2 additions & 17 deletions etc/nginx/sites-available/example.com.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,8 @@ server {
server_name example.com;
root /web/example.com/wwwroot/;

# Lucee specific: add a unique ID for this server block.
# By default, the document-root will be used as a unique ID.
#
# Required to set, if:
# A) you are using 'alias' paths in ANY server{...} block, eg.
# location /demo {
# alias /path/to/alias/folder;
# }
# B) you have multiple server blocks with the same 'root' value.
#
# Make sure you give the $lucee_context variable a unique value.
# Otherwise, multiple sites will share the same Lucee context!
# Examples:
# set $lucee_context "www.mysite.com";
# set $lucee_context "www.othersite.com";
# set $lucee_context site1;
# set $lucee_context site2;
# Mod_cfml (Lucee) specific: add a unique ID for this server block.
# For more info, see http://www.modcfml.org/index.cfm/install/web-server-components/nginx-all-os/
set $lucee_context "example.com";

include lucee.conf;
Expand Down

0 comments on commit 71d1fc6

Please sign in to comment.