mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
Add another package message file to fix the issue with it for nginx flavor.
Bump PORTREVISION. PR: 231877
This commit is contained in:
parent
d66d7ccb93
commit
415a3d9efe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481455
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= passenger
|
||||
PORTVERSION= 5.3.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www rubygems
|
||||
MASTER_SITES= RG
|
||||
PKGNAMEPREFIX= rubygem-
|
||||
@ -60,7 +61,7 @@ BUILD_DEPENDS+= rubygem-rack>=0:www/rubygem-rack
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
SUB_LIST+= GEM_LIB_DIR=${GEM_LIB_DIR} RUBY=${RUBY}
|
||||
SUB_FILES= pkg-message
|
||||
SUB_FILES= pkg-message-${FLAVOR}
|
||||
|
||||
PLIST_FILES= bin/passenger \
|
||||
bin/passenger-config \
|
||||
|
16
www/rubygem-passenger/files/pkg-message-nginx.in
Normal file
16
www/rubygem-passenger/files/pkg-message-nginx.in
Normal file
@ -0,0 +1,16 @@
|
||||
#####################################################################
|
||||
|
||||
Please edit your nginx configuration file, and add these lines:
|
||||
|
||||
server {
|
||||
root %%PASSENGER_INSTALL_DIR%%;
|
||||
passenger_enabled on;
|
||||
passenger_ruby %%RUBY%%;
|
||||
passenger_sticky_sessions on;
|
||||
}
|
||||
|
||||
After you restart nginx, you are ready to deploy any number of Ruby on Rails
|
||||
applications on nginx, without any further Ruby on Rails-specific
|
||||
configuration!
|
||||
|
||||
#####################################################################
|
Loading…
Reference in New Issue
Block a user