Skip to content

Commit b15ab7d

Browse files
author
Kristan Kenney
committed
Merge branch 'main' into feature/user-roles
2 parents 6ea314a + bb76f91 commit b15ab7d

File tree

15 files changed

+19
-15
lines changed

15 files changed

+19
-15
lines changed

bin/v-change-sys-hostname

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ else
5151
# Debian/Ubuntu
5252
hostnamectl set-hostname $domain
5353
echo "$domain" > /etc/hostname
54+
55+
# Update Roundcube password plugin configuration
56+
if [ -d /etc/roundcube/ ]; then
57+
sed -i "/password_hestia_host/c\$rcmail_config['password_hestia_host'] = '$domain';" /etc/roundcube/plugins/password/config.inc.php
58+
fi
5459
fi
5560

5661
# Update ip helo for exim

func/domain.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ add_web_config() {
248248
-e "s|%proxy_system%|$PROXY_SYSTEM|g" \
249249
-e "s|%proxy_port%|$PROXY_PORT|g" \
250250
-e "s|%proxy_ssl_port%|$PROXY_SSL_PORT|g" \
251-
-e "s/%proxy_extentions%/${PROXY_EXT//,/|}/g" \
251+
-e "s/%proxy_extensions%/${PROXY_EXT//,/|}/g" \
252252
-e "s|%user%|$user|g" \
253253
-e "s|%group%|$user|g" \
254254
-e "s|%home%|$HOMEDIR|g" \
@@ -764,7 +764,7 @@ add_webmail_config() {
764764
-e "s|%proxy_system%|$PROXY_SYSTEM|g" \
765765
-e "s|%proxy_port%|$PROXY_PORT|g" \
766766
-e "s|%proxy_ssl_port%|$PROXY_SSL_PORT|g" \
767-
-e "s/%proxy_extentions%/${PROXY_EXT//,/|}/g" \
767+
-e "s/%proxy_extensions%/${PROXY_EXT//,/|}/g" \
768768
-e "s|%user%|$user|g" \
769769
-e "s|%group%|$user|g" \
770770
-e "s|%home%|$HOMEDIR|g" \

install/deb/templates/web/nginx/caching.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ server {
2424
proxy_cache_bypass $no_cache;
2525
proxy_cache_bypass $cookie_session $http_x_update;
2626

27-
location ~* ^.+\.(%proxy_extentions%)$ {
27+
location ~* ^.+\.(%proxy_extensions%)$ {
2828
proxy_cache off;
2929
root %sdocroot%;
3030
access_log /var/log/%web_system%/domains/%domain%.log combined;

install/deb/templates/web/nginx/caching.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ server {
1919
proxy_cache_bypass $no_cache;
2020
proxy_cache_bypass $cookie_session $http_x_update;
2121
22-
location ~* ^.+\.(%proxy_extentions%)$ {
22+
location ~* ^.+\.(%proxy_extensions%)$ {
2323
proxy_cache off;
2424
root %docroot%;
2525
access_log /var/log/%web_system%/domains/%domain%.log combined;

install/deb/templates/web/nginx/default.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ server {
1616

1717
location / {
1818
proxy_pass https://%ip%:%web_ssl_port%;
19-
location ~* ^.+\.(%proxy_extentions%)$ {
19+
location ~* ^.+\.(%proxy_extensions%)$ {
2020
root %sdocroot%;
2121
access_log /var/log/%web_system%/domains/%domain%.log combined;
2222
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;

install/deb/templates/web/nginx/default.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ server {
1111
1212
location / {
1313
proxy_pass http://%ip%:%web_port%;
14-
location ~* ^.+\.(%proxy_extentions%)$ {
14+
location ~* ^.+\.(%proxy_extensions%)$ {
1515
root %docroot%;
1616
access_log /var/log/%web_system%/domains/%domain%.log combined;
1717
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;

install/deb/templates/web/nginx/hosting.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ server {
1616

1717
location / {
1818
proxy_pass https://%ip%:%web_ssl_port%;
19-
location ~* ^.+\.(%proxy_extentions%)$ {
19+
location ~* ^.+\.(%proxy_extensions%)$ {
2020
root %sdocroot%;
2121
access_log /var/log/%web_system%/domains/%domain%.log combined;
2222
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;

install/deb/templates/web/nginx/hosting.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ server {
1111
1212
location / {
1313
proxy_pass http://%ip%:%web_port%;
14-
location ~* ^.+\.(%proxy_extentions%)$ {
14+
location ~* ^.+\.(%proxy_extensions%)$ {
1515
root %docroot%;
1616
access_log /var/log/%web_system%/domains/%domain%.log combined;
1717
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;

install/rhel/templates/web/nginx/caching.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ server {
1919
proxy_cache_bypass $no_cache;
2020
proxy_cache_bypass $cookie_session $http_x_update;
2121

22-
location ~* ^.+\.(%proxy_extentions%)$ {
22+
location ~* ^.+\.(%proxy_extensions%)$ {
2323
proxy_cache off;
2424
root %sdocroot%;
2525
access_log /var/log/%web_system%/domains/%domain%.log combined;

install/rhel/templates/web/nginx/caching.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ server {
1414
proxy_cache_bypass $no_cache;
1515
proxy_cache_bypass $cookie_session $http_x_update;
1616
17-
location ~* ^.+\.(%proxy_extentions%)$ {
17+
location ~* ^.+\.(%proxy_extensions%)$ {
1818
proxy_cache off;
1919
root %docroot%;
2020
access_log /var/log/%web_system%/domains/%domain%.log combined;

0 commit comments

Comments
 (0)