Skip to content

Nginx redirect and drawio config #155

Open
@manuel-florido

Description

@manuel-florido

Hi,

I am trying to use drawio self-hosted and I have some questions.

  1. I am using Nginx because I wanted to require login, so this is my Nginx server configuration:

server_name myserver.com;
location / {
auth_basic "Administrator’s Area";
auth_basic_user_file /etc/apache2/.htpasswd;
proxy_pass http://127.0.0.1:8080;
client_max_body_size 9000m;
proxy_redirect off;
}

It works fine with Drawio but when I tried to export a PDF It fails. Do you know how to configure a login correctly?

  1. How do I config Drawio with a .json?
    I tried to create a .json, put the config and write the path in DRAWIO_CONFIG= on docker-compose.yml, did not work for me.
    Now I am using this:
  • DRAWIO_CONFIG='{"servicesConfig":{"export":false,"local":false,"drive":true,"sharepoint":false,"onedrive":false,"github":false,"gitlab":false,"trello":false,"confluence":false,"jira":false},"DrawConfig":{"defaultLang":"es"}}'

It works except the language, can you help me to config the default language to spanish?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions