Jump to content

MonkeyTruffle

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by MonkeyTruffle

  1. Hiya, I've managed to get cubecart working on Apache behind nginx apart from the admin bit. I cannot login because it always comes back with the CSRF error. My nginx config is: location / { proxy_redirect off; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; proxy_set_header Referer $http_referer; proxy_pass_header X-CSRFToken; proxy_pass_header Set-Cookie; proxy_pass https://127.0.0.1:8000/; } Has anyone managed to get it working using nginx and apache? I've been trying for hours and am at a total loss. Thanks! I'm sure, as per usual it'll be something simple
×
×
  • Create New...