Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

OpenCart on Nginx as reverse proxy causing login issue?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
cosmicx
Posts: 8
Joined: Tue Sep 12, 2017 6:00 pm

OpenCart on Nginx as reverse proxy causing login issue?
  • Quote

Post by cosmicx » Tue Sep 12, 2017 6:08 pm

Hi! First time to post here in the Forum.

I've been testing VestaCP live using OpenCart. It has very little traffic and I encounter an issue as reported by a customer. Not sure if this is server/hosting related, but maybe I can get some help here to further investigate on the issue.

The issue reported to me:

When user go to the login page, the user and password field gets auto populated or auto filled, and eventually logs in. The account that get auto logged in wasn't really his account, but of some else's account.

How can I investigate on this issue? Someone says it might be a session issue. I looked at my /home/username/tmp directory and I just see tons of sess_ files. The directory has RW permission only by the VestaCP user.

Could this be a server related issue?
Top

noogen
Posts: 66
Joined: Thu Jan 05, 2017 9:20 pm

Re: OpenCart on Nginx as reverse proxy causing login issue?
  • Quote

Post by noogen » Thu Sep 14, 2017 6:39 pm

It's really hard to troubleshoot without you trying to figure out where the issue is first: is the problem with apache or nginx? The most important thing is know how to recreate the issue.

In this case, we have to make a couple of assumption or guesses and begin testing out the theory. Let assume that it is a caching issue.

1. Is is a problem at apache level? can we recreate the issue if you don't have nginx in front of apache? If not, it must be nginx.
2. If it is nginx, is it a proxy cache issue? Do you have setting to bypass cache for certain OpenCart session cookie name?
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password