-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2293 from knight-of-ni/rpm-nginx
update nginx support on redhat
- Loading branch information
Showing
5 changed files
with
120 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# Change the user and group of the default pool to the web server account | ||
; Change the user and group of the default pool to the web server account | ||
[www] | ||
|
||
user = @WEB_USER@ | ||
group = @WEB_GROUP@ | ||
|
||
# Uncomment these on machines with little memory | ||
#pm = ondemand | ||
#pm.max_children = 10 | ||
#pm.process_idle_timeout = 10s | ||
; These parameters are typically a tradoff between performance and memory | ||
; consumption. See the contents of www.conf for details. | ||
|
||
pm = ondemand | ||
pm.max_children = 50 | ||
pm.process_idle_timeout = 10s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
D @ZM_TMPDIR@ 0755 @WEB_USER@ @WEB_GROUP@ | ||
D @ZM_SOCKDIR@ 0755 @WEB_USER@ @WEB_GROUP@ | ||
D @ZM_CACHEDIR@ 0755 @WEB_USER@ @WEB_GROUP@ | ||
d @ZM_DIR_EVENTS@ 0755 @WEB_USER@ @WEB_GROUP@ | ||
D @ZM_DIR_IMAGES@ 0755 @WEB_USER@ @WEB_GROUP@ | ||
D /var/lib/php/session 770 root @WEB_GROUP@ | ||
D /var/lib/php/wsdlcache 770 root @WEB_GROUP@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters