jgraph / docker-drawio

Dockerized draw.io based on whichever is the most secure image at the time.
GNU General Public License v3.0
1.48k stars 359 forks source link

Nginx redirect and drawio config #155

Open manuel-florido opened 5 months ago

manuel-florido commented 5 months ago

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:

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

Thank you.