mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
change replacement logic to insert federation locations
This commit is contained in:
parent
0ee62ef644
commit
211c8f07c0
@ -113,7 +113,7 @@ server {
|
||||
}
|
||||
|
||||
# Federation
|
||||
$FEDERATION_NGINX_CONF
|
||||
FEDERATION_NGINX_CONF
|
||||
|
||||
# TODO this could be a performance optimization
|
||||
#location /vue {
|
||||
|
||||
@ -99,7 +99,7 @@ server {
|
||||
}
|
||||
|
||||
# Federation
|
||||
$FEDERATION_NGINX_CONF
|
||||
FEDERATION_NGINX_CONF
|
||||
|
||||
# TODO this could be a performance optimization
|
||||
#location /vue {
|
||||
|
||||
@ -101,7 +101,7 @@ case "$NGINX_SSL" in
|
||||
true) TEMPLATE_FILE="gradido.conf.ssl.template" ;;
|
||||
*) TEMPLATE_FILE="gradido.conf.template" ;;
|
||||
esac
|
||||
envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < $NGINX_CONFIG_DIR/$TEMPLATE_FILE > $NGINX_CONFIG_DIR/gradido.conf.tmp
|
||||
envsubst "$(env | sed -e 's/FEDERATION_NGINX_CONF/\$FEDERATION_NGINX_CONF/g')" < $NGINX_CONFIG_DIR/$TEMPLATE_FILE > $NGINX_CONFIG_DIR/gradido.conf.tmp
|
||||
envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < $NGINX_CONFIG_DIR/gradido.conf.tmp > $NGINX_CONFIG_DIR/gradido.conf
|
||||
# rm $NGINX_CONFIG_DIR/gradido-federation.conf
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user