File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,10 +191,10 @@ will kick in.
191
191
To solve this, update the env file and either
192
192
193
193
* manually set a list of your domain names and/or server IPs
194
- ` CSRF_TRUSTED_ORIGINS=https://my.domain.example.com,https://118.999.881.119 `
194
+ ` CSRF_TRUSTED_ORIGINS=https://my.domain.example.com,https://118.999.881.119:8008 `
195
195
If you are unsure what origin to add here, set the debug setting to true, restart
196
196
and try again, the error message that appears will have the origin prominently
197
- displayed.
197
+ displayed. Note: the port is important!
198
198
* or set the ` X-Forwarded-Proto ` header like in the example and set
199
199
` X_FORWARDED_PROTO_HEADER_SET=True ` . If you do this consult the
200
200
[ documentation] ( https://docs.djangoproject.com/en/4.1/ref/settings/#secure-proxy-ssl-header )
You can’t perform that action at this time.
0 commit comments