forked from facebook/chef-cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add attribute and handling for preventing apache restarts after updat…
…ing files
- Loading branch information
1 parent
d40b248
commit acb79ea
Showing
3 changed files
with
18 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -185,3 +185,5 @@ | |
}, | ||
'mpm' => 'prefork', | ||
} | ||
|
||
node.default['fb_apache']['allow_restart'] = true |
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,3 +1,11 @@ | ||
<Location "<%= @location %>"> | ||
<Location /server-status> | ||
SetHandler server-status | ||
Require local | ||
# vpn users | ||
Require ip 10.96.244.0/22 | ||
# vpn users | ||
Require ip 10.100.240.0/22 | ||
# GCP vpn users | ||
Require ip 10.0.0.0/8 | ||
Require ip 127.0.0.1 | ||
</Location> |