-
Notifications
You must be signed in to change notification settings - Fork 66
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
Docker部署后,非443端口域名反代图床服务配置问题 #7
Comments
不是很清楚你说的 |
您好,我用docker部署好后,这是nginx配置文件,我用8443无法访问。
麻烦问下是哪里有问题吗? |
即通过域名https://www.lovebetterworld.com:8443/ 访问不到,是哪里配置有问题吗? |
配置文件里面的 lsky.halc.top.confserver {
listen 443; # ssl http2;
listen [::]:443; # ssl http2;
server_name lsky.halc.top;
# SSL
ssl_certificate /etc/letsencrypt/live/lsky.halc.top/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/lsky.halc.top/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/lsky.halc.top/chain.pem;
# security
include nginxconfig.io/security.conf;
# reverse proxy
location / {
proxy_redirect off;
proxy_pass http://127.0.0.1:6325;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header Upgrade-Insecure-Requests 1;
proxy_set_header X-Forwarded-Proto https;
client_max_body_size 100m;
client_body_buffer_size 128k;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
# additional config
include nginxconfig.io/general.conf;
} 另外根据之前别人在 我自己算是 |
哈哈哈哈,我找到问题所在了,已解决。
|
😉 解决就好,那我就把这个 |
好的好的。多谢。 |
麻烦问下,docker部署好lskypro后,用nginx加了https证书,只是给LskyPro加了个Https为什么?
图片上传上去后,图片的URL还是http://ip:port这种格式
麻烦问下什么问题?
还是需要改动其他地方吗?
The text was updated successfully, but these errors were encountered: