You are here

FAQ.txt in Secure Pages 6

Same filename and directory in other branches
  1. 8 FAQ.txt
  2. 5 FAQ.txt
  3. 6.2 FAQ.txt
  4. 7 FAQ.txt
1. Running secure pages on the Nginx web server. See http://drupal.org/node/390450#comment-1420518

The text from this reference below.

----8<----
If you are on Nginx, Then add the little code in your Nginx conf file.

fastcgi_param HTTPS on;

Here is all the code in my host conf at the php section.
  location ~ .*\.(php|php5)?$
  {
    #fastcgi_pass  unix:/tmp/php-cgi.sock;
    fastcgi_pass  127.0.0.1:9000;
    fastcgi_index index.php;
    include fcgi.conf;
    fastcgi_param HTTPS on;
  }

Reload your nginx server, then you may get the enable box active.
----8<----

File

FAQ.txt
View source
  1. 1. Running secure pages on the Nginx web server. See http://drupal.org/node/390450#comment-1420518
  2. The text from this reference below.
  3. ----8<----
  4. If you are on Nginx, Then add the little code in your Nginx conf file.
  5. fastcgi_param HTTPS on;
  6. Here is all the code in my host conf at the php section.
  7. location ~ .*\.(php|php5)?$
  8. {
  9. #fastcgi_pass unix:/tmp/php-cgi.sock;
  10. fastcgi_pass 127.0.0.1:9000;
  11. fastcgi_index index.php;
  12. include fcgi.conf;
  13. fastcgi_param HTTPS on;
  14. }
  15. Reload your nginx server, then you may get the enable box active.
  16. ----8<----