Torben,
I am not using nginx server to serve https. See bellow the nginx config file for that instance.
server {
listen 206.192.23.166:80;
server_name ezy.iurix.com;
location / {
root /var/www/ezysource;
client_max_body_size 40M;
proxy_read_timeout 200;
proxy_connect_timeout 200;
proxy_pass http://127.0.0.1:8040;
proxy_set_header X-Forwarded-For $remote_addr;
}
The scenario I have now is:
1) The site works only through HTTPS. (I want it functioning for both HTTP and HTTPS. HTTPS must be used only to specific pages such as login, and etc. ( I am using ecommerce package.)
HTTP links are broken: "502 Bad Gateway"
I'm not sure but I think it isn't necessary to set up nginx to serve HTTPS. Is it?