Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.


I use nginx as DAV server and apache which hosts a frontend to backuppc.

I'd like to make nginx host the frontend insead of apache. But I don't have a clue how to translate apache settings to nginx ones. Can you help me with it? Is there a guide how to translate /etc/apache2/apache2.conf into /etc/nginx/nginx.conf

Despite apache2.conf is rather big, I found the only section related to the frontend.

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
Alias /backuppc /usr/share/backuppc/cgi-bin/

<Directory /usr/share/backuppc/cgi-bin/>
    AllowOverride None
    Allow from all

        # Uncomment the line below to ensure that nobody can sniff importanti
        # info from network traffic during editing of the BackupPC config or
        # when browsing/restoring backups.
        # Requires that you have your webserver set up for SSL (https) access.
        #SSLRequireSSL

    Options ExecCGI FollowSymlinks
    AddHandler cgi-script .cgi
    DirectoryIndex index.cgi

    AuthGroupFile /etc/backuppc/htgroup
        AuthUserFile /etc/backuppc/htpasswd
    AuthType basic
    AuthName "BackupPC admin"
    require valid-user

</Directory>
share|improve this question
1  
This question is more suitable for serverfault.com –  Lekensteyn Feb 22 '12 at 13:01
1  
Pretty much just have to learn nginx. Different than Apache configs but still just as easy... nginx.com/docs.html –  user8290 Feb 23 '12 at 0:22

1 Answer 1

up vote 3 down vote accepted

There is ready to use config here.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.