freebsd_nginx_backuppc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
freebsd_nginx_backuppc [2017/07/21 16:17] – [Outgoing Mail] k2patel | freebsd_nginx_backuppc [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
Not going to discuss on setting up jail etc., this topic mainly focused on quick installation once your JAIL is setup. | Not going to discuss on setting up jail etc., this topic mainly focused on quick installation once your JAIL is setup. | ||
+ | Note: For Linux RHEL Based installation look ([[https:// | ||
===== Installation ===== | ===== Installation ===== | ||
Installing packages required.\\ | Installing packages required.\\ | ||
Line 29: | Line 30: | ||
</ | </ | ||
+ | Configure backuppc for first time | ||
+ | <code bash> | ||
+ | / | ||
+ | </ | ||
==== FCGI ==== | ==== FCGI ==== | ||
Running Nginx going to use fcgiwrap package instead of CGI. | Running Nginx going to use fcgiwrap package instead of CGI. | ||
Line 80: | Line 85: | ||
ssl_certificate | ssl_certificate | ||
ssl_certificate_key | ssl_certificate_key | ||
- | ssl_trusted_certificate / | + | ssl_trusted_certificate / |
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months) | # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months) | ||
Line 160: | Line 165: | ||
- mail command does not read these aliases | - mail command does not read these aliases | ||
- | <code bash / | + | <code bash / |
# Alias look like this | # Alias look like this | ||
root: | root: | ||
</ | </ | ||
+ | <code bash / | ||
+ | # This is simplified version of my configuraiton | ||
+ | root=k2patel@hotmail.com | ||
+ | mailhub=smtp.k2patel.in | ||
+ | rewriteDomain=backup.k2patel.in | ||
+ | hostname=_HOSTNAME_ | ||
+ | </ | ||
+ | |||
+ | <code bash / | ||
+ | # this is what my mailer.conf file looks like | ||
+ | sendmail / | ||
+ | send-mail / | ||
+ | mailq / | ||
+ | newaliases / | ||
+ | hoststat / | ||
+ | purgestat / | ||
+ | </ | ||
+ | |||
+ | <code bash / | ||
+ | # this change does not require, unless you want to send email using mail command and want aliases to work | ||
+ | set append dot save ask crt | ||
+ | ignore Received Message-Id Resent-Message-Id Status Mail-From Return-Path Via | ||
+ | alias root backup@k2patel.in | ||
+ | </ | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
- If there is any issue related to fcgiwrap | - If there is any issue related to fcgiwrap |
freebsd_nginx_backuppc.1500653864.txt.gz · Last modified: 2020/08/10 02:30 (external edit)