summaryrefslogtreecommitdiffstats
path: root/.examples
diff options
context:
space:
mode:
authorwarren-ru <69246897+warren-ru@users.noreply.github.com>2021-01-26 02:39:31 +0700
committerGitHub <noreply@github.com>2021-01-25 19:39:31 +0000
commit16a3e7598f4010c96c652180b3627adff0d0920e (patch)
treed7a10310c1e69efa1f79fc6970e3db4ce3011fba /.examples
parent2cbc82dc9fc93588b61680dc102badb079c4ec17 (diff)
Changing of nginx reverse proxy config (#1380)
* Update nginx.conf * Update nginx.conf * Update nginx.conf
Diffstat (limited to '.examples')
-rw-r--r--.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/web/nginx.conf4
-rw-r--r--.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf4
-rw-r--r--.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf4
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