Hi all,
I am migrating my Yii application from one Apache hosted server to a Nginx server and for the most part it is working fine. I have created a self-signed certificate so I can view the site over ssl. I can move throughout the site fine over ssl but when I post a form the site is redirected back to http. I have viewed the headers and found that there is a 302 Moved Temporarily issue. The data
sent through the form submission is being saved as expected.
I am quite new to Nginx but after looking through the config many times I don’t think it’s the cause. I am also hosting a Wordpress blog under the same conditions and that is not suffering the same issue.
Does anyone have any thoughts on what might be happening?
OS: Debian 6.0 Squeeze
Web server: Nginx 1.0.6
Yii version: 1.1.2