Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
DRON4eg committed Apr 22, 2021
1 parent 663d15d commit afc46d4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rootfs/nginx/sites-enabled/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ server {
location ^~ /.well-known {
location = /.well-known/carddav { return 301 $nc_proto://$host:$nc_port/remote.php/dav/; }
location = /.well-known/caldav { return 301 $nc_proto://$host:$nc_port/remote.php/dav/; }
#location = /.well-known/webfinger { return 301 $nc_proto://$host/index.php$uri; }
#location = /.well-known/nodeinfo { return 301 $nc_proto://$host/index.php$uri; }
#location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
#location /.well-known/pki-validation { try_files $uri $uri/ =404; }
#return 301 /index.php$request_uri;
Expand Down Expand Up @@ -85,8 +83,8 @@ server {
}

location ~ \.(?:css|js|svg|gif|map)$ {
try_files $uri /index.php$uri$is_args$args;
#try_files $uri /index.php$request_uri;
#try_files $uri /index.php$uri$is_args$args;
try_files $uri /index.php$request_uri;
expires 6M;
access_log off;
}
Expand Down

0 comments on commit afc46d4

Please sign in to comment.