-
-
Notifications
You must be signed in to change notification settings - Fork 518
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
Self-hosting atuin with apache as reverse proxy #1099
Comments
Same behavior with atuin 16.0. Any help would be appreciated. |
It's been a long while since I used Apache, but I got this working using nginx today with the following configuration:
I don't think it's important, but background to my setup: I run FreeBSD where nginx runs in a jail, and other services run in other jails on a network only accessible internally to the box. I use the PF packet filter to pass HTTP(S) traffic to the web jail which then proxies to the various other services - atuin runs in a jail with the IP address I had tried to pass specific paths, but had similar results to yourself (including nginx returning HTTP 405 on a number of calls). Right now, if I visit
And if I visit any specific path (e.g.
But my atuin client is connecting, registering, and sync'ing just fine with my above configuration. Hopefully this is helpful to someone. |
I have the same issue with 17.1.0 and Traefik (in Kubernetes). Using own subdomain for it. |
I go it fixed. Instead of
i wrote
(File: ~/.config/atuin/config.toml) (see missing slash) and it works now fine. :) |
Turns out my configuration had an, at least sylistically, similar issue. The first argument of the ProxyPass* directive from the Apache configuration needs a terminating slash (
it seems to work now. Note that I did not set the |
This issue has two concerns: 1. It is about self-hosting autin with apache as reverse proxy 2. it is about "Error: error decoding response body: expected value at line 1 column 1" when trying to login
I am not sure if 2. is caused by me misconfiguring 1., but in any case, the error message in 2. could maybe improved. In fact I am stuck with 1. and miss general tooling, command line switches and techniques to diagnose the root cause. Of course, please do not rule out that I am just incompetent.
So here is what I did
in its config. And, in fact, accessing https://mydomain.org/atuin, returns
But I am not sure if this is supposed to happen. I only suspect that this is the atuin server talking because the version number. I am also not sure if I should set
path = "/autin"
in atuin'sserver.toml
.And upon login, I get
I would appreciate any help setting up my atuin server. Thanks in advance. :)
The text was updated successfully, but these errors were encountered: