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-04-27, 12:41:04

Author Topic: ssl problem in Nginx proxy  (Read 10238 times)

0 Members and 1 Guest are viewing this topic.

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
ssl problem in Nginx proxy
« on: 2014-06-26, 12:13:29 »
i have ssl to my server site  move from apache to nginx proxy i get error.
Quote
his webpage has a redirect loop

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ssl problem in Nginx proxy
« Reply #1 on: 2014-06-26, 12:14:54 »
Inform here your 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: ssl problem in Nginx proxy
« Reply #2 on: 2014-06-26, 12:23:33 »
Quote





[root@mail ~]# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2014062103

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.38-1.ius.el6.x86_64
   2. PHP: php53u-5.3.28-5.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.mr.e6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.7.2-1.el6.ngx.x86_64
   6. 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
   7. Dns: bind-9.8.2-0.23.rc1.el6_5.1.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         31970        642      31328          0         19        186
   -/+ buffers/cache:        435      31535
   Swap:        16383          0      16383

[root@mail ~]#




Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ssl problem in Nginx proxy
« Reply #3 on: 2014-06-26, 12:55:30 »
Investigate your website. Nothing wrong with nginx-proxy config for ssl.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: ssl problem in Nginx proxy
« Reply #4 on: 2014-06-26, 13:02:07 »

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: ssl problem in Nginx proxy
« Reply #5 on: 2014-06-26, 20:30:47 »
please look in to this fix

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: ssl problem in Nginx proxy
« Reply #6 on: 2014-06-27, 22:53:33 »
It is not a fix, more of a solution, but Mustafa already added the x forwarded protocal to nginx reverse proxy configs, all you have to do is add the one line to your .htaccess file in the document root of that domain.

Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: ssl problem in Nginx proxy
« Reply #7 on: 2014-07-01, 15:53:39 »
now today i saw  there are new updates for mr panel i updated it works with ssl now.. problem i get when some one posts  they get error permission denied as even as admin get this message no able to upload images too..

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ssl problem in Nginx proxy
« Reply #8 on: 2014-07-01, 16:18:04 »
More explain, especially error message.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: ssl problem in Nginx proxy
« Reply #9 on: 2014-07-01, 20:02:57 »
sorry for above bad spells i used ipad it went wrong..

i updates in 2 servers... one server have photosharing site they cont upload pics to site as admin nor users..  but when we shit to apache it works no problem..

same problem  with other server too they have xenforo forum when post any topics they get permission denied

http://gyazo.com/efe0ebca7e9283cc071e346febd9d268

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ssl problem in Nginx proxy
« Reply #10 on: 2014-07-02, 08:48:33 »
Ask to xenforo forum or change owner/permissions of their upload directory.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: ssl problem in Nginx proxy
« Reply #11 on: 2014-07-02, 08:53:34 »
it works prefect with apache only problem with nginx proxy

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: ssl problem in Nginx proxy
« Reply #12 on: 2014-07-05, 14:46:24 »
one of my customer is using ..{Kloxo-MR 6.5.0.f-2014020301}  he dont have any problem in posting with nginx proxy only problem for new version of kloxomr

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ssl problem in Nginx proxy
« Reply #13 on: 2014-07-05, 14:53:18 »
Have you try 'sh /script/fix-chownchmod'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: ssl problem in Nginx proxy
« Reply #14 on: 2014-07-05, 14:58:18 »
i will try and let yu know..

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.041 seconds with 18 queries.

web stats analysis