diff --git a/calibre-web.subdomain.conf.sample b/calibre-web.subdomain.conf.sample index fa2361e..a154d0c 100644 --- a/calibre-web.subdomain.conf.sample +++ b/calibre-web.subdomain.conf.sample @@ -54,5 +54,6 @@ server { set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_set_header X-Scheme $scheme; + proxy_redirect https://$host/ https://$host:selfdefined port number/;#here use your self-defined port number, so it could redirect to other link then still keep self defined port number. } }