Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Update nginx installed from leb script

BlazeMuisBlazeMuis Member
edited August 2012 in General

hey

i installed my webserver with the LEB script with nginx
but now my question is, how can i update it to the newest version?

Comments

  • I don't use Nginx, but I like your Radio station ;)

  • BlazeMuisBlazeMuis Member
    edited August 2012

    Figured out howto, running in 1.2.3 now

    Anyway, still got a small problem

    Restarting nginx: nginxnginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored
    nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored
    .
    

    I get that error when i start nginx

  • multiple

    server_name localhost;

    in 'sites-enabled'..???

    Thanked by 1DeletedUser
  • BlazeMuisBlazeMuis Member
    edited August 2012

    @Shamli said: multiple

    server_name localhost;

    in 'sites-enabled'..???

    I don't even got it one time

  • @vpsnodebox said: but I like your Radio station ;)

    Thank you!

  • is apache maybe running on port 80?

  • @sandoz said: is apache maybe running on port 80?

    No... i have nginx running on port 80, and it's running fine
    But i just got that error, i don't know if i can ignore it

  • @joodle if you just uninstalled Apache, do a reboot and tell us if it worked please.

  • ShamliShamli Member
    edited August 2012

    kill all nginx process and restart...or just restart the nginx process..

    edit:
    @vpsnodebox +1

  • apt-get remove apache2
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package apache2 is not installed, so not removed
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Apache is not installed, did a reboot and i still got the error

  • @Shamli shutdown -r now -- or -- reboot

  • @Jack said: What's in /etc/nginx/nginx.conf

    Default config for the LEB script:

    user www-data;
    worker_processes  1;
    
    error_log  /var/log/nginx/error.log;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  1024;
        # multi_accept on;
    }
    
    http {
        include       /etc/nginx/mime.types;
    
        access_log  /var/log/nginx/access.log;
    
        sendfile        on;
        #tcp_nopush     on;
    
        #keepalive_timeout  0;
        keepalive_timeout  65;
        tcp_nodelay        on;
    
        gzip  on;
        gzip_disable "MSIE [1-6]\.(?!.*SV1)";
    
        include /etc/nginx/conf.d/*.conf;
        include /etc/nginx/sites-enabled/*;
    }
    
    # mail {
    #     # See sample authentication script at:
    #     # http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript
    # 
    #     # auth_http localhost/auth.php;
    #     # pop3_capabilities "TOP" "USER";
    #     # imap_capabilities "IMAP4rev1" "UIDPLUS";
    # 
    #     server {
    #         listen     localhost:110;
    #         protocol   pop3;
    #         proxy      on;
    #     }
    # 
    #     server {
    #         listen     localhost:143;
    #         protocol   imap;
    #         proxy      on;
    #     }
    # }
  • reboot if Debian...

  • @Shamli said: reboot if Debian...

    I already rebooted

  • @joodle said: I already rebooted

    any nginx process running...??

  • @Shamli said: any nginx process running...??

    Oh gosh... yes i have nginx running mate, it's working fine but i just get that error

  • @joodle is that the nginx that ships with Debian 6?

  • @Jack He's probably running stock Debian 6 Nginx, which is like version ~0.7 or something like that.... and that one is totally old and broken.

  • @vpsnodebox said: @joodle is that the nginx that ships with Debian 6?

    No, it's the updated one from nginx website (1.2.3)

  • open web browser and point to your ip or domain you setup in sites-enabled...is it the right site get displayed...??

  • @Shamli said: open web browser and point to your ip or domain you setup in sites-enabled...is it the right site get displayed...??

    Yes there is, ur not helping me man, as i said before, everything works FINE but i just get that error

Sign In or Register to comment.