Я использую nginx в качестве сервера DAV и апача, который размещает frontend к backuppc.
Я хотел бы заставить nginx разместить frontend insead апача. Но у меня нет подсказки, как перевести апачские настройки в nginx. Можно ли помочь мне с ним? Есть ли руководство, как перевести/etc/apache2/apache2.conf в/etc/nginx/nginx.conf
Несмотря на apache2.conf является довольно большим, я нашел единственный раздел связанным с 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>
Здесь можно использовать конфигурацию здесь .