File tree Expand file tree Collapse file tree 15 files changed +19
-15
lines changed
web/src/app/WebApp/Installers/Wordpress Expand file tree Collapse file tree 15 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 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
5459fi
5560
5661# Update ip helo for exim
Original file line number Diff line number Diff 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" \
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments