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

Posted July 8, 2014 2.4k 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:

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.

Submit an Answer
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.

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: