You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configured my BunkerWeb to reverse proxy both my frontend and backend. The separate frontend and backend work fine. However, when I attempt to log in (e.g., on the login page), after entering my credentials and clicking the login button, I still receive CORS errors, despite having configured all the related CORS parameters.:
/var/log/bunkerweb/access.log:
BACKEND IP - - [05/Oct/2024:02:41:52 -0400] "OPTIONS /api/users/auth/login/ HTTP/2.0" 405 0 "https://FRONTEND""Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"in Google Chrome Browser:
Access to XMLHttpRequest at 'https://BACKEND/api/users/auth/login/' from origin 'https://FRONTEND' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
BunkerWeb version
1.5.9
What integration are you using?
Linux
Linux distribution (if applicable)
debian 12
Removed private data
I have removed all private data from the configuration file and the logs
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
I configured my BunkerWeb to reverse proxy both my frontend and backend. The separate frontend and backend work fine. However, when I attempt to log in (e.g., on the login page), after entering my credentials and clicking the login button, I still receive CORS errors, despite having configured all the related CORS parameters.:
How to reproduce?
.
Configuration file(s) (yaml or .env)
Relevant log output
BunkerWeb version
1.5.9
What integration are you using?
Linux
Linux distribution (if applicable)
debian 12
Removed private data
Code of Conduct
The text was updated successfully, but these errors were encountered: