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. 2017-05-28, 03:01:58

Author Topic: JS not working with Nginx proxy anymore  (Read 214 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 602
  • Karma: +0/-0
    • View Profile
JS not working with Nginx proxy anymore
« on: 2017-04-10, 14:49:46 »
@Mustafa,
what changes have you done to Nginx proxy lately? My update is from  ~ 1 week back and now that i've run fixall, the websites have issues with JS files, it's not working correctly at all.

Kloxo-MR!

Offline fossxplorer

  • Master
  • **
  • Posts: 602
  • Karma: +0/-0
    • View Profile
Re: JS not working with Nginx proxy anymore
« Reply #1 on: 2017-04-10, 14:56:01 »
Now i've switched to Apache only and things work, so it's the changes to Nginx proxy that's the problem!
Kloxo-MR!

Offline fossxplorer

  • Master
  • **
  • Posts: 602
  • Karma: +0/-0
    • View Profile
Re: JS not working with Nginx proxy anymore
« Reply #2 on: 2017-04-10, 15:00:54 »
The Nginx proxy domain conf has:
   #include '/opt/configs/nginx/conf/globals/switch_standard.conf';                                                                                   
        include '/opt/configs/nginx/conf/globals/switch_standard.conf';

That seems to wrong. It should rather have globals/proxy_standard.conf right?
Kloxo-MR!

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 14,490
  • Karma: +105/-8
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: JS not working with Nginx proxy anymore
« Reply #3 on: 2017-04-10, 15:09:42 »
Just add keepalive_timeout in proxy*.conf and php-fpm*.conf in /opt/configs/nginx/conf/globals.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 14,490
  • Karma: +105/-8
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: JS not working with Nginx proxy anymore
« Reply #4 on: 2017-04-10, 15:11:24 »
Depend on selected, php-fpm*.conf or proxy*.conf will be copy to switch*.conf.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 602
  • Karma: +0/-0
    • View Profile
Re: JS not working with Nginx proxy anymore
« Reply #5 on: 2017-04-10, 15:44:53 »
I see. Strange that all websites with JS started to behave strange due to inproper loading of JS files and resources.

Can i still use Nginx custom files like:_

/opt/configs/nginx/conf/globals/custom.* ?
Kloxo-MR!

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 14,490
  • Karma: +105/-8
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: JS not working with Nginx proxy anymore
« Reply #6 on: 2017-04-10, 16:47:22 »
I see. Strange that all websites with JS started to behave strange due to inproper loading of JS files and resources.

Can i still use Nginx custom files like:_

/opt/configs/nginx/conf/globals/custom.* ?
Yes.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.034 seconds with 18 queries.

web stats analysis