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

July 8, 2014 2.1k 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
link no ok =

my nginx config:

3 Answers


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 realize that will open the php info usually no problem accessing more will download the file with the code phpinfo.

  • Both links load the phpinfo() for me. Try clearing your browser’s cache or trying again in Incognito mode using Chrome.

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:

Have another answer? Share your knowledge.

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