Report this

What is the reason for this report?

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

Posted on July 8, 2014

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.