Closed kangaroo72 closed 2 years ago
Please use triple-backticks to mark the code sections, e.g. ```
ok so the configuration for tandoor looks fine, i am thinking the issue you are seeing might be related to your nginx confguration. I am no expert on nginx but feel free to post your config section that routes cook.mydomain.tld to the IP of the server on port 92 and i can take a look. One thing to note is you prbably cant rout your nginx to the 192. IP as that is a docker network internal one, you can only route to localhost:92 if i remember correctly
Hi vabene1111 - thanks for you answer.
Here's the part for Tandoo from my nginx
########################################################
# Subdomain für Tandoo-Recipes #
########################################################
server {
listen 80;
server_name cook.domain.tld;
charset utf-8;
root /var/www;
location ^~ /.well-known/acme-challenge {
proxy_pass http://127.0.0.1:81;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl http2;
server_name cook.domain.tld;
client_max_body_size 1024M;
charset utf-8;
include /etc/nginx/ssl.conf;
location /media/ {
alias /media/;
}
location / {
proxy_max_temp_file_size 1024M;
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
send_timeout 300;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cookie_path / "/; secure; HttpOnly";
proxy_pass http://127.0.0.1:92;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;
proxy_request_buffering off;
}
}
ok so from my noob view on nginx this looks fine. Basically if accessing 127.0.0.1:92
works but accessing trough your proxy does not work you know that it is your proxy that breaks the connection and not the configuration of tandoor. Since i am sadly not an expert at nginx and do not know how to help you any further here i can just recomend you follow one of the supported proxy examples shown in the documentation were i can help you better.
If 127.0.0.1:92
does not work please reopen this issue and post your container logs.
Hi all,
first, I want to say thank you for that application. I'm not a specialist, but I try hard to get it working.
I'm working with a NGINX-Reverse-Proxy that is forwarding the subdomain e. g. cook.domain.tld to 192.168.200.10:92 If I'm starting http://192.168.200.10:92, everything works, but if I'm running https://cook.domain.tld I cannot create anything :-( Is there a way to fix this??
Thanks a lot, Tom
Here my docker-compose.yml
Here my .env