1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 HTTPS is not being set by the server automatically

Discussion in 'Troubleshooting and Problems' started by Sunka, Sep 6, 2016.

  1. Sunka

    Sunka Well-Known Member

    I have https, and my site run on nginx.
    https is working, all http is redirected to https, but if I link word in post with my forum link without http/https, after saving post, result is that xenforo automatically put http but not https in front of link. I tried to add $_SERVER['HTTPS'] = 'on'; in config.php file, but result is same.

    example (raw bbcode):

    Code:
    [URL='www.pijanitvor.com']Test link[/URL]
    After post is submitted:

    Code:
    [URL='http://www.pijanitvor.com']Test link[/URL]
     
  2. Jake B.

    Jake B. Well-Known Member

    I'm sure that's done intentionally, as long as your redirects are in place and working it won't be an issue, but if it defaulted to https and someone linked to a site that doesn't support SSL you'll have issues
     
    Sunka likes this.

Share This Page