MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Tips and Tricks => Topic started by: cmdman on 2014-06-26, 12:13:29

Title: ssl problem in Nginx proxy
Post by: cmdman 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
Title: Re: ssl problem in Nginx proxy
Post by: MRatWork on 2014-06-26, 12:14:54
Inform here your 'sh /script/sysinfo'.
Title: Re: ssl problem in Nginx proxy
Post by: cmdman 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 ~]#



Title: Re: ssl problem in Nginx proxy
Post by: MRatWork on 2014-06-26, 12:55:30
Investigate your website. Nothing wrong with nginx-proxy config for ssl.
Title: Re: ssl problem in Nginx proxy
Post by: cmdman on 2014-06-26, 13:02:07
i think this problem same to me

http://forum.mratwork.com/kloxo-mr-tips-and-tricks/php-force-redirect-ssl-nginxproxy-endless-loop/

but bit confused to edit that .
Title: Re: ssl problem in Nginx proxy
Post by: cmdman on 2014-06-26, 20:30:47
please look in to this fix
Title: Re: ssl problem in Nginx proxy
Post by: chrisf 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.

Title: Re: ssl problem in Nginx proxy
Post by: cmdman 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..
Title: Re: ssl problem in Nginx proxy
Post by: MRatWork on 2014-07-01, 16:18:04
More explain, especially error message.
Title: Re: ssl problem in Nginx proxy
Post by: cmdman 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
Title: Re: ssl problem in Nginx proxy
Post by: MRatWork on 2014-07-02, 08:48:33
Ask to xenforo forum or change owner/permissions of their upload directory.
Title: Re: ssl problem in Nginx proxy
Post by: cmdman on 2014-07-02, 08:53:34
it works prefect with apache only problem with nginx proxy
Title: Re: ssl problem in Nginx proxy
Post by: cmdman 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
Title: Re: ssl problem in Nginx proxy
Post by: MRatWork on 2014-07-05, 14:53:18
Have you try 'sh /script/fix-chownchmod'?.
Title: Re: ssl problem in Nginx proxy
Post by: cmdman on 2014-07-05, 14:58:18
i will try and let yu know..
Title: Re: ssl problem in Nginx proxy
Post by: MRatWork on 2014-07-05, 15:02:44
If using apache/-proxy, try using mod_php_ruid2 and then compare to php-fpm_event. Mod_php variants are embedded php to apache but php-fpm variants are execute external php. Timeout is critical in php-fpm.
Title: Re: ssl problem in Nginx proxy
Post by: cmdman on 2014-07-12, 09:24:23
no use not working .. i installed both beta and final version get same error..