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
server {
listen443 ssl;
server_name parts.nobble.it;
# Reverse proxy configurationlocation/ {
set$upstream_app partdb; # Name of your Docker container or service in Docker Composeset$upstream_port80; # Port where PartDB is running inside the container (replace if different)set$upstream_proto http; # Protocol to use (http or https)# Pass the request to the PartDB containerproxy_set_header X-Forwarded-Prefix "/partdb"; # If you need to pass /partdb as a prefix to the containerproxy_pass$upstream_proto://$upstream_app:$upstream_port;
# Additional proxy headers to ensure correct routing and forwardingproxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Dont mind the port numbers they are actually correct. I tried a few different server blocks but they all landed on the /partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/ Filename location in the end.
To Reproduce
Steps to reproduce the behavior:
Have PartDB running in a docker container
Also have nginx running in a docker container
have both of them in a vlan such that you can address the containers internally
have nginx rewrite everything to https:// and my server and location config for partdb
** container setup**
The text was updated successfully, but these errors were encountered:
server {
listen443 ssl;
listen [::]:443 ssl;
server_name parts.nobble.it;
include /config/nginx/ssl.conf;
client_max_body_size0;
# enable for ldap auth (requires ldap-location.conf in the location block)#include /config/nginx/ldap-server.conf;# enable for Authelia (requires authelia-location.conf in the location block)#include /config/nginx/authelia-server.conf;# enable for Authentik (requires authentik-location.conf in the location block)#include /config/nginx/authentik-server.conf;location/ {
# enable the next two lines for http auth#auth_basic "Restricted";#auth_basic_user_file /config/nginx/.htpasswd;# enable for ldap auth (requires ldap-server.conf in the server block)#include /config/nginx/ldap-location.conf;# enable for Authelia (requires authelia-server.conf in the server block)#include /config/nginx/authelia-location.conf;# enable for Authentik (requires authentik-server.conf in the server block)#include /config/nginx/authentik-location.conf;include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set$upstream_app partdb;
set$upstream_port80;
set$upstream_proto http;
proxy_pass$upstream_proto://$upstream_app:$upstream_port;
}
}
Describe the bug
When using nginx (in the swag bundle) i get this error:
I do have these env variables:
nginx config
Dont mind the port numbers they are actually correct. I tried a few different server blocks but they all landed on the
/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/partdb/en/
Filename location in the end.To Reproduce
Steps to reproduce the behavior:
** container setup**
The text was updated successfully, but these errors were encountered: