feat(installer): add the --storage-path
flag (#2865)
### Description Add the `--storage-path` flag to the installer to configure a custom storage path out of the box. On existing installation, we check that the 'storage.path' in the configuration file is the same as the one provided by the installer. This ensures that we don't update the nginx configuration file with an invalid storage path.
This commit is contained in:
parent
5bd8ee0476
commit
5b23852f8d
2 changed files with 34 additions and 7 deletions
|
@ -44,6 +44,6 @@ server {
|
|||
location /api/_media {
|
||||
internal;
|
||||
# This alias path must match the 'storage.path' configuration field.
|
||||
alias @@STORAGE_DIR@@;
|
||||
alias @@STORAGE_PATH@@;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue