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-28, 22:24:13

Author Topic: nginx http to https  (Read 2826 times)

0 Members and 1 Guest are viewing this topic.

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
nginx http to https
« on: 2014-12-05, 04:08:12 »
hi mr..

just moved my server to clouldflare free flexi ssl  everything works fine..but how to redirect http to https all traffic iam using nginx ..

Quote

A. Kloxo-MR: 6.5.0.f-2014102601

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.40-2.ius.el6.x86_64
   2. PHP: php54-5.4.35-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.7.8-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.17.mr.el6.x86_64
   7. Dns: bind-9.9.5-1.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         13932        863      13069         12         34        418
   -/+ buffers/cache:        410      13521
   Swap:            0          0          0

[root@server script]#



Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
« Last Edit: 2014-12-05, 04:44:17 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
Re: nginx http to https
« Reply #2 on: 2014-12-05, 04:53:48 »
i tried all that before .. my site never redirect to https when i use nginx but works with apache

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.056 seconds with 19 queries.

web stats analysis