Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration #45

Closed
Buliwif opened this issue Oct 16, 2020 · 4 comments
Closed

Configuration #45

Buliwif opened this issue Oct 16, 2020 · 4 comments

Comments

@Buliwif
Copy link

Buliwif commented Oct 16, 2020

Hi,

As a good newbie with Docker, I follow the steps to install/start it. I used "docker run -it --rm --name="draw" -p 8080:8080 -p 8443:8443 fjudith/draw.io"

Now I wish make French default langage but is there a way to include this parameter when running the pod ?
Someone would like to be a good teacher to me please ?

Thank You
Arno

@Buliwif
Copy link
Author

Buliwif commented Oct 23, 2020

I use a reverseproxy apache so I tried :
# RewriteEngine on
# RewriteCond %{QUERY_STRING} !.+
# RewriteRule “/(.+)?” “/$1local=1&lang=fr” [QSA,R]
But it doesn't Work ...

@Buliwif Buliwif closed this as completed Oct 26, 2020
@Buliwif
Copy link
Author

Buliwif commented Oct 26, 2020

Finally i found a way with my reverse proxy.

@fjudith
Copy link
Owner

fjudith commented Oct 27, 2020

Great ! Can you share the setup?

@Buliwif
Copy link
Author

Buliwif commented Oct 27, 2020

Hi, sorry I was with my smartphone that's why my answer was quick :)
This work like a charm :

RewriteCond %{QUERY_STRING} !.+
RewriteRule "/(.+)?" "/$1?local=1&lang=fr" [QSA,R]

Thank You for this really helpfull application.
Arno.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants