Results 1 to 14 of 14

Thread: nginx 1.13.8 mainline

  1. #1
    Join Date
    Jun 2012
    Posts
    635

    nginx 1.13.8 mainline

    how to get this added to custombuild? tried using version number but doesn't download.
    Dave M

  2. #2
    Join Date
    Sep 2015
    Location
    Arnhem, NL
    Posts
    428
    Not all mainline versions are added to CustomBuild ( http://files1.directadmin.com/services/custombuild/ , sort by recents), I don't know why. I just always do this;

    - wget the nginx-1.13.8.tar.gz file from the nginx website to /usr/local/directadmin/custombuild
    - Edit custom_versions.txt with the correct version number
    - ./build update
    - Verify with ./build versions of the update is recognized
    - Then finally do ./build nginx

  3. #3
    Join Date
    Jun 2012
    Posts
    635
    I will try that, thanks much.
    do any addon modules (like --with-mp4, etc) carry over?
    Dave M

  4. #4
    Join Date
    Sep 2015
    Location
    Arnhem, NL
    Posts
    428
    If you have any configuration files in /usr/local/directadmin/custombuild/custom/nginx/, yes.

  5. #5
    Join Date
    Oct 2008
    Posts
    8
    Maybe this thread and post might be useful to you?

    You only have to change the version from 1.9.11 to 1.13.8 and follow the steps mentioned there.

    Using this for quite some time now and it works like a charm.

  6. #6
    Join Date
    Jun 2012
    Posts
    635
    Quote Originally Posted by Erulezz View Post
    If you have any configuration files in /usr/local/directadmin/custombuild/custom/nginx/, yes.
    cool
    Quote Originally Posted by ps4all View Post
    Maybe this thread and post might be useful to you?

    You only have to change the version from 1.9.11 to 1.13.8 and follow the steps mentioned there.

    Using this for quite some time now and it works like a charm.
    I actually just came across that thread and was going to follow it when I have a chance, thanks
    Dave M

  7. #7
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,612
    You could even use this way to update nginx:



    Code:
    cd /usr/local/directadmin/custombuild/
    wget https://raw.githubusercontent.com/poralix/directadmin-utils/master/nginx/build_nginx -O /usr/local/directadmin/custombuild/build_nginx
    chmod 755 ./build_nginx
    ./build_nginx
    A script to install a mainline version of NGINX with custombuild2. A version number of NGINX mainline is taken from NGINX's trac site.

    Usage:

    ./build_nginx versions - to update information of available mainline version
    ./build_nginx install - to download and install the latest mainline version
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

  8. #8
    Join Date
    Jun 2012
    Posts
    635
    iirc I saw that on your webpage and was also looking at it, thanks
    Dave M

  9. #9
    Join Date
    Jun 2012
    Posts
    635
    Quote Originally Posted by zEitEr View Post
    You could even use this way to update nginx:



    Code:
    cd /usr/local/directadmin/custombuild/
    wget https://raw.githubusercontent.com/poralix/directadmin-utils/master/nginx/build_nginx -O /usr/local/directadmin/custombuild/build_nginx
    chmod 755 ./build_nginx
    ./build_nginx
    A script to install a mainline version of NGINX with custombuild2. A version number of NGINX mainline is taken from NGINX's trac site.

    Usage:

    ./build_nginx versions - to update information of available mainline version
    ./build_nginx install - to download and install the latest mainline version
    that...was so darned simple it should be outlawed LOL
    seemed to work very well and took literally 2 minutes max
    Dave M

  10. #10
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,612
    It's even possible to run a crontask:

    Code:
    echo "1 2 * * * root /usr/local/directadmin/custombuild/build_nginx cron" >> /etc/cron.d/directadmin_custom
    if you want to update a version every day. It won't upgrade nginx, but only update information about its version and download a tar.gz file when a new version is available.

    As soon as a new version of nginx comes out and its binary is downloaded you can use custombuild native script as usual to install/update nginx.

    Code:
    ./build nginx
    or

    Code:
    ./build update_versions
    or stick to the custom script.

    Code:
    ./build_nginx install
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

  11. #11
    Join Date
    Jun 2012
    Posts
    635
    will this also work of I am using nginx as rev proxy?
    I can't see any reason it would not, but am experimenting with some configs on my end to apply to someone eleses server so am curious.
    Dave M

  12. #12
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,612
    The both cases are possible: nginx and nginx+apache.
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

  13. #13
    Join Date
    Jun 2012
    Posts
    635
    sweet thank you
    Dave M

  14. #14
    Join Date
    Nov 2016
    Posts
    58
    So much useful with reply of zEitEr.
    Thank you, I will try to run update today soon possible.

Posting Permissions

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