Results 1 to 10 of 10

Thread: Issues with http/2 on apache_nginx (safari)

  1. #1
    Join Date
    Sep 2017
    Posts
    2

    Issues with http/2 on apache_nginx (safari)

    Hello,

    I'm admin of VPS with configuration:
    Direct Admin: 1.51.4
    Nginx 1.13.3
    Apache 2.4.27
    OpenSSL 1.0.1e-fips (but I compiled openssl-1.1.0f and I've symlink created with instruction from other post: ln -s /usr/local/lib_http2/lib/libssl.so.1.1 /usr/lib64/libssl.so.1.1
    ln -s /usr/local/lib_http2/lib/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1)

    I was perform steps from this post: http://forum.directadmin.com/showthread.php?t=52590 (without curl) and http/2 works very well except Apple devices. I don't have idea what I can do more.
    My client uses iPad, iPhone and iMac and eveything what he see, is blank page and loading website. My friends with Mac - the same.

    Website: https://halogorlice.info

    Help, it drives me crazy

  2. #2
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,803
    Please try DA pre-release binaries. When installed, run:
    Code:
    cd /usr/local/directadmin/custombuild
    ./build rewrite_confs
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  3. #3
    Join Date
    May 2014
    Posts
    35
    Quote Originally Posted by smtalk View Post
    Please try DA pre-release binaries. When installed, run:
    Code:
    cd /usr/local/directadmin/custombuild
    ./build rewrite_confs
    The problem is proxy_hide_header Upgrade. If this option is missing in the configuration (/usr/local/directadmin/data/templates/nginx*), Safari (iPhone, iPad and Mac) will not work. We also have this problem. Maybe DirectAdmin can get an update for this problem? The pre-release on production servers is not really convenient

    Update, see also: https://trac.nginx.org/nginx/ticket/915
    Last edited by dave097; 09-11-2017 at 03:34 AM.

  4. #4
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,803
    Quote Originally Posted by davydvries View Post
    The problem is proxy_hide_header Upgrade. If this option is missing in the configuration (/usr/local/directadmin/data/templates/nginx*), Safari (iPhone, iPad and Mac) will not work. We also have this problem. Maybe DirectAdmin can get an update for this problem? The pre-release on production servers is not really convenient

    Update, see also: https://trac.nginx.org/nginx/ticket/915
    I recommended pre-release because it already has the changes. DirectAdmin never adds new features to already released versions
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  5. #5
    Join Date
    Sep 2017
    Posts
    2
    Thank you so much. I will check your tips and I will inform you about of impact of them

  6. #6
    Join Date
    Nov 2004
    Posts
    251
    I am still facing to this trouble with DA 1.52. "proxy_hide_header Upgrade" is already in /etc/nginx/nginx:vhost.conf
    Any idea please?
    Want to purchase G Suite with lower prices?

    As a Google partner, I can offer you that. Just contact!

  7. #7
    Join Date
    Nov 2004
    Posts
    251
    Anyone else faces to this issue? Installed nginx 1.13.6, but it doesn't resolve the issue. As mentioned, "proxy_hide_header Upgrade" is already in /etc/nginx/nginx:vhost.conf
    Want to purchase G Suite with lower prices?

    As a Google partner, I can offer you that. Just contact!

  8. #8
    Join Date
    May 2014
    Posts
    35
    Quote Originally Posted by gate2vn View Post
    Anyone else faces to this issue? Installed nginx 1.13.6, but it doesn't resolve the issue. As mentioned, "proxy_hide_header Upgrade" is already in /etc/nginx/nginx:vhost.conf
    That isn't correct! DirectAdmin version 1.52 has the solution! If you have DirectAdmin version 1.52.0, check then /usr/local/directadmin/data/templates/custom, state there nginx_server* ? If yes, check /usr/local/directadmin/data/templates/nginx_server* and make the changes in /usr/local/directadmin/data/templates/custom/nginx_server*

    If you do not have that, then echo "action=rewrite&value=nginx" >> /usr/local/directadmin/data/task.queue && /usr/local/directadmin/dataskq

    The problem is then gone
    Last edited by dave097; 10-18-2017 at 05:52 AM.

  9. #9
    Join Date
    Nov 2004
    Posts
    251
    No, it doesn't work. And yes I have DA 1.52, "proxy_hide_header Upgrade" is there. But cannot access from Safari, it just sends multiple requests to nginx.

    my-ip-address - - [19/Oct/2017:07:16:43 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:43 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:44 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:44 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:44 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:44 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:44 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:45 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:45 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:45 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    my-ip-address - - [19/Oct/2017:07:16:45 +0200] "GET / HTTP/2.0" 200 4179 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38"
    Want to purchase G Suite with lower prices?

    As a Google partner, I can offer you that. Just contact!

  10. #10
    Join Date
    May 2014
    Posts
    35
    Can you have a look in /usr/local/directadmin/data/users/<USER>/nginx.conf ? is there also proxy_hide_header Upgrade? Does it work with Nginx 1.13.5? Can you send the output of /usr/local/directadmin/data/<USER>/nginx.conf?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •