403 forbidden error for login & register pages only after SSL

Hello, after I set up flexible SSL my site got activated successfully.

However when I try to login or register a new account it throws me 403 Forbidden error.

Site is https://limeguide.org/

Any suggestions on how to solve this?

Btw this is a Django project, using Nginx as a web server, anything else should I share to find out the issue?

*I’m a beginner so I appreciate it if you can be explicit in your response, thank you!

Please change your SSL setting to Full (strict). Flexible is insecure and likely what’s causing your problems.

Thank you!

Do you think afterward I need to do a specific configuration within Nginx to make this work?

Yes, you need to set up SSL in your Nginx config, see here:
https://nginx.org/en/docs/http/configuring_https_servers.html

You can get a certificate for your server from Cloudflare if your connection is proxied:

3 Likes

Ok let me try this, hope it works, and thanks for the help.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.