You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm probably doing something wrong here, so I don't want to open an issue as such. I have Caddy as a reverse proxy in front of my services, with the following Caddyfile config (sanitized):
I don't have a problem if I set the ORIGIN to http://10.x.y.z:1380, (10.x.y.z is the IP address of the Airtrail host), but I need to use the IP address directly.
On a related note, for reasons, I use two different IPs, one 10.0.0.0/8 while I'm on my home network, and a 100.64.0.0/10 IP used by my VPN. The *.int.example.com and *.example.com DNS wildcards point to the LAN IP and the VPN IP respectively. However, while other services such as Paperless-NGX allow me to specify multiple domain addresses, it seems like Airtrail only allows me to specify a single domain/IP from which i can login.
Now, I have no experience with web development, and while it is easy for me to say "Disable CSRF protection", I don't know what the impact of that decision is. I'm hoping you or the community can help here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm probably doing something wrong here, so I don't want to open an issue as such. I have Caddy as a reverse proxy in front of my services, with the following Caddyfile config (sanitized):
I get the following response when I try to login:
This is the relevant snippet from .env
I don't have a problem if I set the ORIGIN to
http://10.x.y.z:1380
, (10.x.y.z is the IP address of the Airtrail host), but I need to use the IP address directly.On a related note, for reasons, I use two different IPs, one 10.0.0.0/8 while I'm on my home network, and a 100.64.0.0/10 IP used by my VPN. The *.int.example.com and *.example.com DNS wildcards point to the LAN IP and the VPN IP respectively. However, while other services such as Paperless-NGX allow me to specify multiple domain addresses, it seems like Airtrail only allows me to specify a single domain/IP from which i can login.
Now, I have no experience with web development, and while it is easy for me to say "Disable CSRF protection", I don't know what the impact of that decision is. I'm hoping you or the community can help here.
Beta Was this translation helpful? Give feedback.
All reactions