Ahoj,
řeším dlouhý odkaz v kombinaci s nginx.
Chrome hlásí chybu 414. Zvláštní je, že to vrací stránku chrome a ne nginx viz. příloha
Adresa dlouhého odkazu je:
https://cssdxsx.cz/?oauth2callback=1&code=4/nQEWiMicXkEt7qT8JredfHzI3-AYlD-dhXjVFeihaIhuA_b14gzjDz3Vwa8wNaE3Q3KaoLSe_50yRqACTgTJXqc&scope=email%20profile%20openid%20https://www.googleapis.com/auth/userinfo.profile%20https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/webmasters%20https://www.googleapis.com/auth/siteverification&authuser=0&session_state=78a57a818728bd6cea3b0b55b9ff6cf58ef4373a..4756&prompt=consent
Konfigurace nginx.conf
client_header_buffer_size 2048k;
large_client_header_buffers 4 2048k;
client_max_body_size 12m;
client_body_buffer_size 128k;
output_buffers 1 32k;
postpone_output 1460;
client_header_timeout 3m;
client_body_timeout 3m;
send_timeout 3m;
V access logu je:
"GET /?oauth2callback=1&code=4/nQEWiMicXkEt7qT8JredfHzI3-AYlD-dhXjVFeihaIhuA_b14gzjDz3Vwa8wNaE3Q3KaoLSe_50yRqACTgTJXqc&scope=email%20profile%20openid%20https://www.googleapis.com/auth/userinfo.profile%20https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/webmasters%20https://www.googleapis.com/auth/siteverification&authuser=0&session_state=78a57a818728bd6cea3b0b55b9ff6cf58ef4373a..4756&prompt=consent HTTP/2.0" 414 129 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36"
Můžete prosím poradit, co je potřeba ještě upravit, aby dlouhá url fungovala?