YunoHost-Apps / webtrees_ynh

Webtrees package for YunoHost
https://www.webtrees.net
GNU General Public License v3.0
7 stars 5 forks source link

Problems with changing the access URL #58

Open tompatulpan opened 2 years ago

tompatulpan commented 2 years ago

Describe the bug

Im trying to change my domain for Webtrees after installation and it does not work in a specific case (wanted case). My url is now https://domain1.tld/trees and I want to change it to https://trees.domain2.tld/ and this does not work.

If I however change it to https://domain2.tld/trees it works fine. My A record is set to *.domain2.tld and letsencrypt works fine for https://trees.domain2.tld/ If I reinstall Webtrees with https://trees.domain2.tld/ everything works fine.

Context

Hardware: VM YunoHost version: 4.3.6.3 I have access to my server : through the webadmin Webtrees version 2.1.6~ynh1

Logs

Let me know whats needed here.

forum thread here - https://forum.yunohost.org/t/webtrees-change-domain-does-not-work/20264

ericgaspar commented 2 years ago

I cannot reproduce your issue...

https://domain1.tld/trees -> https://trees.domain2.tld/https://trees.domain2.tld/ -> https://domain2.tld/https://domain2.tld/ -> https://domain1.tld/trees/

It seems to work fine on most setups I've tried.

YunoHost version: 11.0.7

tompatulpan commented 2 years ago

I have tested again with YH 11.0.9.14 and WT 2.1.6~ynh1 and it still does not work here!? Could I investigate Nginx config maybe after trying, or any specific logs?