sì, ma il problema è che tutti gli utenti hanno lo stesso IP..
ho aggiunto questo in app.yml e sto facendo i test in questo momento
run:
- replace:
filename: /etc/nginx/conf.d/discourse.conf
from: “server {”
to: |
server {
set_real_ip_from 192.168.1.250;
real_ip_header X-Forwarded-For;
real_ip_recursive on;- exec: echo “Beginning of custom commands”
- exec: echo “End of custom commands”
ho appena fatto i test da desktop e da telefono mobile
ottengo gli indirizzi IP corretti ![]()