diff options
author | warren-ru <69246897+warren-ru@users.noreply.github.com> | 2021-01-26 02:39:31 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 19:39:31 +0000 |
commit | 16a3e7598f4010c96c652180b3627adff0d0920e (patch) | |
tree | d7a10310c1e69efa1f79fc6970e3db4ce3011fba /.examples | |
parent | 2cbc82dc9fc93588b61680dc102badb079c4ec17 (diff) |
Changing of nginx reverse proxy config (#1380)
* Update nginx.conf
* Update nginx.conf
* Update nginx.conf
Diffstat (limited to '.examples')
3 files changed, 6 insertions, 6 deletions
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/web/nginx.conf b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/web/nginx.conf index 9fc3e281..36f591d4 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/web/nginx.conf +++ b/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/web/nginx.conf @@ -78,11 +78,11 @@ http { #rewrite ^/.well-known/webfinger /public.php?service=webfinger last; location = /.well-known/carddav { - return 301 $scheme://$host:$server_port/remote.php/dav; + return 301 $scheme://$host/remote.php/dav; } location = /.well-known/caldav { - return 301 $scheme://$host:$server_port/remote.php/dav; + return 301 $scheme://$host/remote.php/dav; } # set max upload size diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf index 9fc3e281..36f591d4 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf @@ -78,11 +78,11 @@ http { #rewrite ^/.well-known/webfinger /public.php?service=webfinger last; location = /.well-known/carddav { - return 301 $scheme://$host:$server_port/remote.php/dav; + return 301 $scheme://$host/remote.php/dav; } location = /.well-known/caldav { - return 301 $scheme://$host:$server_port/remote.php/dav; + return 301 $scheme://$host/remote.php/dav; } # set max upload size diff --git a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf index 9fc3e281..36f591d4 100644 --- a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf +++ b/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf @@ -78,11 +78,11 @@ http { #rewrite ^/.well-known/webfinger /public.php?service=webfinger last; location = /.well-known/carddav { - return 301 $scheme://$host:$server_port/remote.php/dav; + return 301 $scheme://$host/remote.php/dav; } location = /.well-known/caldav { - return 301 $scheme://$host:$server_port/remote.php/dav; + return 301 $scheme://$host/remote.php/dav; } # set max upload size |