X Tutup
The Wayback Machine - https://web.archive.org/web/20201020153757/https://github.com/nextcloud/docker/issues/1240
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Administration/overview/Security & setup warnings about cardav/caldav #1240

Open
andriy-f opened this issue Sep 7, 2020 · 0 comments
Open

Administration/overview/Security & setup warnings about cardav/caldav #1240

andriy-f opened this issue Sep 7, 2020 · 0 comments

Comments

@andriy-f
Copy link

@andriy-f andriy-f commented Sep 7, 2020

Page Administration/overview/ (/settings/admin/overview) shows warnings in Security & setup warnings section related to caldav/cardav if port is added to https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/web/nginx.conf,

i.e: this section generates warnings:

 location = /.well-known/carddav {
            return 301 $scheme://$host:$server_port/remote.php/dav;
        }

        location = /.well-known/caldav {
            return 301 $scheme://$host:$server_port/remote.php/dav;
        }

But changing it to this (by removing :$server_port):

 location = /.well-known/carddav {
            return 301 $scheme://$host/remote.php/dav;
        }

        location = /.well-known/caldav {
            return 301 $scheme://$host/remote.php/dav;
        }

Makes warnings disappear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup