yhsiao
Chevereto Member
*️⃣ Must open one ticket per issue. If you are experiencing multiple issues don't hesitate to create multiple tickets for each issue.
▶ Reproduction steps
User can not login
📃 Error log message
User can not login
▶ Reproduction steps
- origin website:a.example.com, reverse proxy website:b.example.com
- nginx conf:
#PROXY-START/
location /
{
proxy_pass https://a.example.com😛ort;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_http_version 1.1;
# proxy_hide_header Upgrade;
add_header X-Cache $upstream_cache_status;
#Set Nginx Cache
proxy_set_header Accept-Encoding "";
sub_filter "a.example.com😛ort" "https://b.example.com😛ort";
sub_filter_once off;
set $static_fileYNxzz31H 0;
if ( $uri ~* "\.(gif|png|jpg|css|js|woff|woff2)$" )
{
set $static_fileYNxzz31H 1;
expires 1m;
}
if ( $static_fileYNxzz31H = 0 )
{
add_header Cache-Control no-cache;
}
}
#PROXY-END/- [Example: Go to /upload and upload a X image]
User can not login
📃 Error log message
User can not login