|
#1
|
|||
|
|||
Xbt backend ssl
Xbt doesn't support ssl by default and I know it can be done with nginx. I've been trying for days now to configure this correctly, but the IPs of peers is showing the proxy IP and not the users.
Can anyone please share an example of nginx conf for xbt, that also shows real IP. Regards ~ |
#2
|
|||
|
|||
|
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
can you please share your nginx conf file here others will get a better idea of how to help you fix it ;)
|
#5
|
|||
|
|||
Quote:
events { worker_connections 4096; ## Default: 1024 } http { server { listen test.site.me:2083 ssl ; ssl_certificate /etc/apache2/ssl/apache.crt; ssl_certificate_key /etc/apache2/ssl/apache.key; location / { proxy_pass http://test.site.me:2710/; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; error_log /var/log/nginx/error.log; } } } Xbt is running is running on 2710 as default. Proxy to secure 2083 works, but all peers have the server IP. |
#6
|
|||
|
|||
remove everything to do with ssl and just run certbot it will take are of things for you
|
#7
|
|||
|
|||
So if I have xbt running on 2710 can you give me an example of nginx config with cerbot please.
|
#8
|
|||
|
|||
it will look something like this
Quote:
certbot will take care of adding the ssl |
The Following User Says Thank You to rio For This Useful Post: | ||
madness85 (3rd November 2019)
|
#9
|
|||
|
|||
Will get back to you guys on progress.
|
#10
|
|||
|
|||
k good luck ;)
|
|
|