1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minio_ynh.git synced 2024-09-03 19:46:18 +02:00
This commit is contained in:
Tagada 2023-05-19 23:52:02 +02:00
parent 9ddb5b0673
commit 31ce1fd95e
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
MINIO_ROOT_USER=__ADMIN__ MINIO_ROOT_USER=__ADMIN__
MINIO_ROOT_PASSWORD=__PASSWORD__ MINIO_ROOT_PASSWORD=__PASSWORD__
MINIO_VOLUMES="__DATA_DIR__/" MINIO_VOLUMES="__DATA_DIR__/"
MINIO_OPTS="-C __FINAL_PATH__/ --address 127.0.0.1:__PORT__ --console-address :__CONSOLE_PORT__" MINIO_OPTS="-C __FINAL_PATH__/ --address 127.0.0.1:__PORT__ --console-address :__PORT_CONSOLE__"

View file

@ -1,7 +1,7 @@
rewrite ^$ /; rewrite ^$ /;
location ~ ^(/ws|/api|/images|/Loader.svg|/apple-icon-180x180.png|/favicon-96x96.png|/favicon-16x16.png|/favicon-32x32.png|/login|/styles|/static|/manifest.json|/$) { location ~ ^(/ws|/api|/images|/Loader.svg|/apple-icon-180x180.png|/favicon-96x96.png|/favicon-16x16.png|/favicon-32x32.png|/login|/styles|/static|/manifest.json|/$) {
proxy_pass http://127.0.0.1:__CONSOLE_PORT__; proxy_pass http://127.0.0.1:__PORT_CONSOLE__;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";