我正在尝试使用 DAViCal 设置 nginx。但是,我在日志中收到一个“文件未找到”,其中包含“FastCGI sent in stderr:”Primary script unknown”。看起来我的别名有问题,但我确实想不通。
我的虚拟主机:
server {
listen 80; ## listen for ipv4; this line is default and implied
listen [::]:80 default_server ipv6only=on; ## listen for ipv6
root /var/www-data;
index index.html index.htm index.shtml index.php;
# Make site accessible from http://localhost/
server_name just.a.server;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.html;
ssi on;
# Uncomment to enable naxsi …Run Code Online (Sandbox Code Playgroud)