Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-15, 03:48:51

Author Topic: Nginx with Varnish Why doesnt it work?  (Read 4293 times)

0 Members and 1 Guest are viewing this topic.

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Nginx with Varnish Why doesnt it work?
« on: 2014-10-05, 08:18:15 »
Hi whenever i enable nginx with varnish i get this page

Code: [Select]
Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx.

it works fine when only using nginx
« Last Edit: 2014-10-05, 12:53:21 by rAXv2 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nginx with Varnish Why doesnt it work?
« Reply #1 on: 2014-10-05, 12:27:02 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Nginx with Varnish Why doesnt it work?
« Reply #2 on: 2014-10-05, 13:03:24 »
sh /script/restart-all
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Stopping Varnish Cache:                                    [  OK  ]
Starting Varnish Cache:                                    [  OK  ]
Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Execute fixlxphpexe for php53s...
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php54m-fpm:                                       [  OK  ]
Starting php54m-fpm:                                       [  OK  ]





sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2014100502

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.39-1.ius.el6.x86_64
   2. PHP: php54-5.4.32-2.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.8.0-f.2.mr.el6.x86_64
   6. Nginx: nginx-1.7.6-1.el6.ngx.x86_64
   7. Cache: varnish-3.0.5-1.el6.x86_64
   8. Dns: bind-9.9.5-1.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           512        458         53          0          0        112
   -/+ buffers/cache:        346        165
   Swap:          512        159        352
« Last Edit: 2014-10-05, 13:06:03 by rAXv2 »

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Nginx with Varnish Why doesnt it work?
« Reply #3 on: 2014-10-05, 16:01:09 »
Using any cache with nginx will cause this issue

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nginx with Varnish Why doesnt it work?
« Reply #4 on: 2014-10-05, 17:05:32 »
How about when using hiawatha or lighttpd?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Nginx with Varnish Why doesnt it work?
« Reply #5 on: 2014-10-05, 17:32:48 »
yes cache is working with hiawatha and lighttpd

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Nginx with Varnish Why doesnt it work?
« Reply #6 on: 2014-10-05, 18:05:22 »
how to install/use openlitespeed?

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Nginx with Varnish Why doesnt it work?
« Reply #7 on: 2014-10-06, 12:05:45 »
hmm waiting....

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nginx with Varnish Why doesnt it work?
« Reply #8 on: 2014-10-06, 13:58:57 »
Possible openlitespeed not implementing in Kloxo-MR because still many secret related to their configs.

Maybe change to implementing Monkey Web server.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rAXv2

  • Valuable Member
  • *
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Nginx with Varnish Why doesnt it work?
« Reply #9 on: 2014-10-06, 19:24:22 »
any fix for nginx with varnish?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nginx with Varnish Why doesnt it work?
« Reply #10 on: 2014-10-07, 08:42:53 »
Will be fixed. For awhile copy /opt/configs/nginx/etc/conf.d/default.conf to /etc/nginx/conf.d/default.conf and then run 'sh /script/restart-web'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.067 seconds with 22 queries.

web stats analysis