Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clipboard icon won't show up when using https connection #476

Open
lucksufe opened this issue Feb 27, 2025 · 1 comment
Open

clipboard icon won't show up when using https connection #476

lucksufe opened this issue Feb 27, 2025 · 1 comment

Comments

@lucksufe
Copy link

I use nginx conf from official document, but seems clipboard icon won't show up when https connection,take control or not the clipboard icon keeps invisible. When I use http connection this function works, the clipboard icon will show up after I get control and disappear when release control.

Use below nginx config, the difference of http & https is only the listen port.

https://neko.m1k1o.net/#/getting-started/reverse-proxy?id=nginx

server {
listen 443 ssl http2;
server_name example.com;

location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 86400;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Protocol $scheme;
}
}

@m1k1o
Copy link
Owner

m1k1o commented Feb 27, 2025

It won't show where clipboard is natively supported (in chrome with https). But I undeservedly it would be more convenient for you to see it even in this case, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants