CSRF Problem, again, yes I read the other guides #2779
Closed
nicedevil007
started this conversation in
General
Replies: 2 comments 13 replies
-
these settings are invalid - unless you are intending to change the defaults, just comment them out.
Are you putting NPM in front of nginx? I think this ended up being the working NPM config. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Can you describe in detail how you have the tandoor environment setup? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Ok long story. I have a running Tandoor Installation in Docker and Tandoor is the last container why I have to keep my docker instance up and running. I try to get everything deployed as LXC right now on my Proxmox Hypervisor.
Main reason to switch right now is the dropped support for PostgreSQL 11 that is deprecated.
3 trys later in docker with dumping the old database, installing version 15 or 16 and so on.... just no, no more trys.
So I picked a cup of coffee and went through the manual installation guide on a LXC with Ubuntu 23.10.
Went flawless until I tried connecting over my DNS record/reverseproxy.
My hope is now, because CSRF was a problem in the past to get it working again and maybe I try to right down a small guide at the end if we get it solved.
What I have?
I can create my first User (admin) with the LAN IP address put into the browser. Ofc I can also create my first Space.
Then I try the same with https://myrecipes.example.com that is handled in first place by my NPM.
The NPM Config looks like this:
Details
Note
Custom Locations
Note
SSL Settings
Note
Advanced
Note
Config Files
The
nginx
inside my Ubuntu got a config that looks like this:My
.env
inside /var/www/recipes looks like this:Error message
Warning
What I already tried?
Hints from here: #452
Hints from here: #518
The proxyparts are meant for the nginx directly on ubuntu and not the NPM right? And so the default installation got this already.
What is not 100% clear to me is the
/mediafiles
or/media
The folder that is created is called /var/www/recipes/mediafiles.So I put in my
.env
the /mediafiles/ (tried it with fullpath as well/var/www/recipes/mediafiles/
)Here a screen of my installationfolder:
Note
I also tried inside the nginx recipes.conf file to switch from alias
/var/www/recipes/mediafiles;
to/media/;
Now I don't know what to try next. Hope someone was in the same situation before.
Beta Was this translation helpful? Give feedback.
All reactions