This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
freebsd_nginx_backuppc [2018/02/20 13:17] k2patel [freebsd + nginx + backuppc] |
freebsd_nginx_backuppc [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 30: | Line 30: | ||
</code> | </code> | ||
+ | Configure backuppc for first time | ||
+ | <code bash> | ||
+ | /usr/local/etc/backuppc/update.sh | ||
+ | </code> | ||
==== FCGI ==== | ==== FCGI ==== | ||
Running Nginx going to use fcgiwrap package instead of CGI. | Running Nginx going to use fcgiwrap package instead of CGI. | ||
Line 81: | Line 85: | ||
ssl_certificate /usr/local/etc/nginx/ssl/<domain>.crt; | ssl_certificate /usr/local/etc/nginx/ssl/<domain>.crt; | ||
ssl_certificate_key /usr/local/etc/nginx/ssl/<domain>.key; | ssl_certificate_key /usr/local/etc/nginx/ssl/<domain>.key; | ||
- | ssl_trusted_certificate /usr/local/etc/nginx/ssl/<domain>.ca; | + | ssl_trusted_certificate /usr/local/etc/nginx/ssl/<domain>.int.ca; |
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months) | # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months) | ||
Line 161: | Line 165: | ||
- mail command does not read these aliases | - mail command does not read these aliases | ||
- | <code bash /usr/local/etc/ssmtp/revaliases> | + | <code bash /usr/local/etc/ssmtp/revaliases (optional)> |
# Alias look like this | # Alias look like this | ||
root:k2patel@hotmail.com:smtp.k2patel.in | root:k2patel@hotmail.com:smtp.k2patel.in |