yuri.goltser wrote:
Hi,

I'm heading to the same problem.
Any update or work around for this situation??

Thanks in advance,

Hung Nguyen

Yes, actually solved it. Here is Hosting section of my  appsettings.json:
  "Hosting": {
    //Set to "true" the settings below if your hosting uses a load balancer. It'll be used to determine whether the current request is HTTPS
    "UseHttpClusterHttps": false,
    "UseHttpXForwardedProto": true,

    //Use the setting below if your hosting doesn't use "X-FORWARDED-FOR" header to determine IP address.
    //In some cases server use other HTTP header. You can specify a custom HTTP header here. For example, CF-Connecting-IP, X-FORWARDED-PROTO, etc
    "ForwardedHttpHeader": "X-real-IP"
  },

and here is http section from nginx.conf:
http {
server {
  listen 80;
  listen [::]:80;
  server_name oneclickcharity.com www.oneclickcharity.com;
  return 302 https://oneclickcharity.com$request_uri;

}
server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name   oneclickcharity.com www.oneclickcharity.com;
  
    ssl_certificate           /etc/ssl/oneclickcharity.com.crt;
    ssl_certificate_key       /etc/ssl/oneclickcharity.com.key;

    location / {
    proxy_pass         http://occ-nop-fe:80;
    #proxy_http_version 1.1;
    proxy_set_header   Host $host;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header   X-Forwarded-Proto https;
  proxy_set_header X-Scheme https;
  proxy_set_header X-real-IP $remote_addr;
  proxy_set_header        Upgrade $http_upgrade;
    proxy_set_header        Connection keep-alive;
    proxy_cache_bypass      $http_upgrade;
    }
  }
  
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  /var/log/nginx/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    keepalive_timeout  65;

    #gzip  on;

    include /etc/nginx/conf.d/*.conf;
}


You sir, have saved my day! Thank you!