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
server { | |
listen 80; | |
server_name my-server.com; | |
access_log /var/log/nginx/my-server.com-access.log; | |
error_log /var/log/nginx/my-server.com-error.log; | |
root /var/www/my-server.com/public; | |
index index.php index.html; |
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
# OfflineIMAP config for GMail backup (only tested on OS X) | |
# Save it as ~/.offlineimaprc | |
# NB: this will sync *everything*, including All Mail, Spam, Bin, etc. | |
[general] | |
metadata = ~/.offlineimap | |
accounts = GMail | |
maxsyncaccounts = 1 | |
# You might want to change the below to ui = TTY.TTYUI the first time you run offlineimap | |
# It can choke on large attachments and GMail might reset the connection if you download too much |