This file contains hidden or 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
# Remove all cookies that do not match the following rules | |
if ( | |
# Any HTTP POST request | |
!(req.request == "POST") && | |
# Admin URLs | |
!(req.url ~ "^/admin|Security/") && | |
# Allow /dev/build and /dev/tasks URLs |
This file contains hidden or 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
#!/bin/bash | |
#increase swap to 8gb | |
swapoff -a | |
rm -i -f /swapfile | |
dd if=/dev/zero of=/swapfile bs=1M count=8192 | |
chmod 600 /swapfile | |
mkswap /swapfile | |
swapon /swapfile |