Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fa89f4312d | |||
| a59cb4ead3 |
+2
-1
@@ -57,7 +57,8 @@ PHANTOMJS_KEY='__PHANTOMJS_KEY__'
|
|||||||
PHANTOMJS_SECRET=__APP_KEY__
|
PHANTOMJS_SECRET=__APP_KEY__
|
||||||
|
|
||||||
UPDATE_SECRET=__API_SECRET__
|
UPDATE_SECRET=__API_SECRET__
|
||||||
API_SECRET=__API_SECRET__
|
# API_SECRET is intentionally not set: when set, it requires the X-API-SECRET header
|
||||||
|
# on ALL API calls including the web UI login (React SPA), which breaks browser login.
|
||||||
|
|
||||||
PRECONFIGURED_INSTALL=true
|
PRECONFIGURED_INSTALL=true
|
||||||
|
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ ram.runtime = "50M"
|
|||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
main.auth_header = false
|
||||||
api.url = "/api"
|
api.url = "/api"
|
||||||
api.allowed = "visitors"
|
api.allowed = "visitors"
|
||||||
api.auth_header = false
|
api.auth_header = false
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ ynh_config_add --template="default.env" --destination="$install_dir/.env"
|
|||||||
ynh_script_progression "Adding system configurations related to $app..."
|
ynh_script_progression "Adding system configurations related to $app..."
|
||||||
|
|
||||||
# Create a PHP-FPM config (with conf/extra_php-fpm.conf being appended to it)
|
# Create a PHP-FPM config (with conf/extra_php-fpm.conf being appended to it)
|
||||||
ynh_config_add_phpfpm --usage=medium
|
ynh_config_add_phpfpm
|
||||||
|
|
||||||
# Create a dedicated NGINX config using the conf/nginx.conf template
|
# Create a dedicated NGINX config using the conf/nginx.conf template
|
||||||
ynh_config_add_nginx
|
ynh_config_add_nginx
|
||||||
|
|||||||
+1
-1
@@ -53,7 +53,7 @@ ynh_config_add --template="default.env" --destination="$install_dir/.env"
|
|||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Upgrading system configurations related to $app..."
|
ynh_script_progression "Upgrading system configurations related to $app..."
|
||||||
|
|
||||||
ynh_config_add_phpfpm --usage=medium
|
ynh_config_add_phpfpm
|
||||||
|
|
||||||
ynh_config_add_nginx
|
ynh_config_add_nginx
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user