Question

Problem with php on nginx when accessing over HTTPS, anyone have any tips?

Posted July 8, 2014 2.2k views

Hello friends, I am setting up a drop using PML and ubuntu, I have a problem when trying to access php files, when I use the normal url it works perfectly, but the access by low https php file.

link = ok http://www.crialojas.com/info.php
link no ok = https://www.crialojas.com/info.php

my nginx config:
http://pastebin.com/hQxT2iMt

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers

Hi!

Could you explain what the problem you’re seeing is? I can access both the HTTP and HTTPS links without problem. You Nginx configuration looks fine as well.

@Andrew SB
Hello dear friend, go http://www.crialojas.com/info.php realize that will open the php info usually no problem accessing more https://www.crialojas.com/info.php will download the file with the code phpinfo.

Exactly as he had accessed before installing ssl file my browser placed in the same cache, al accessed whenever he lowered the browser cache and not the server, after clearing the cache worked perfectly thank you all.

my nginx config:
http://pastebin.com/hQxT2iMt

Submit an Answer