Skip to content

Instantly share code, notes, and snippets.

@alexalouit
Created April 12, 2020 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexalouit/fd1d8b5c34288ddcee9637876ff06683 to your computer and use it in GitHub Desktop.
Save alexalouit/fd1d8b5c34288ddcee9637876ff06683 to your computer and use it in GitHub Desktop.
BackupPC + nginx

$ pecl install SCGI

$ nano /etc/nginx/sites-available/default

location /backuppc {
 alias /usr/share/backuppc;
}

location /BackupPC_Admin {
 include /etc/nginx/scgi_params;
 scgi_pass 127.0.0.1:10268;
}

$ nano /etc/backuppc/config.pl

$Conf{SCGIServerPort} = 10268;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment