1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librephotos_ynh.git synced 2024-09-03 19:36:12 +02:00

More fixes for nginx

This commit is contained in:
Jules Bertholet 2021-04-01 17:53:22 -04:00
parent 6f44b4e055
commit 9bcb2939f6
2 changed files with 7 additions and 7 deletions

View file

@ -16,17 +16,17 @@ location ~ ^/(api|media)/ {
proxy_pass http://127.0.0.1:__BACKEND_PORT__;
}
# Django media
location /protected_media/ {
location /protected_media {
internal;
alias /home/yunohost.app/__NAME__/protected_media;
alias /home/yunohost.app/__NAME__/protected_media/;
}
# Original Photos
location /original/ {
location /original {
internal;
alias /home/yunohost.app/__NAME__/data;
alias /home/yunohost.app/__NAME__/data/;
}
# Nextcloud Original Photos
location /nextcloud_original/ {
location /nextcloud_original {
internal;
alias /home/yunohost.app/__NAME__/data/nextcloud_media;
alias /home/yunohost.app/__NAME__/data/nextcloud_media/;
}

View file

@ -6,7 +6,7 @@
"en": "A photo viewer and manager similar to Google Photos",
"fr": "Un gestionnaire de photos semblable à Google Photos"
},
"version": "0.0.20210331~ynh3",
"version": "0.0.20210331~ynh4",
"url": "https://github.com/LibrePhotos/librephotos",
"license": "MIT",
"maintainer": {