f my nginx doing reverse proxy is at https://munetaka.me:43103 this will pass to a upstream nexcloud server runnning at http://hc4nas02.yushei.net:43101. In setting up the config.php what it will bw the trusted _domain and trusted_proxy will be ChatGPT In your Nextcloud config.php file, you would configure the trusted_domains and trusted_proxies settings to ensure proper functioning of Nextcloud behind a reverse proxy. Here's how you would set them up based on your scenario:
php Copy code
array ( 0 => 'munetaka.me', ), 'trusted_proxies' => array ( 0 => 'munetaka.me', ), // Other configuration settings... ); Explanation: trusted_domains: This array should contain all the domains that you trust to be used to access your Nextcloud instance. In your case, you're accessing Nextcloud through munetaka.me, so you should include it here. trusted_proxies: This array should contain all the IP addresses or domain names of your reverse proxies that you trust to correctly set the client IP address in the REMOTE_ADDR header. Since your Nginx reverse proxy is at https://munetaka.me:43103, you include munetaka.me here. Make sure to adjust the values according to your specific setup and any additional domains or proxies you may have.