summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2023-06-23 13:31:34 +0200
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2023-06-23 13:31:34 +0200
commit01533f549307f40008c9a5a78a33f7bf5f863daf (patch)
tree4a53d662e39ef586e054df0a595137f0ca38f9f3
parent140ca7ac6d1264751e2bad5f36a86c2b37e5e55d (diff)
downloadusermanagement-01533f549307f40008c9a5a78a33f7bf5f863daf.tar.gz
usermanagement-01533f549307f40008c9a5a78a33f7bf5f863daf.tar.bz2
usermanagement-01533f549307f40008c9a5a78a33f7bf5f863daf.zip
userSubGenerate: Add ssl for $UID.userpage.spline.de
-rwxr-xr-xuserSubGenerate14
1 files changed, 14 insertions, 0 deletions
diff --git a/userSubGenerate b/userSubGenerate
index 56798c4..24799f9 100755
--- a/userSubGenerate
+++ b/userSubGenerate
@@ -135,6 +135,20 @@ EOF
</Location>
</VirtualHost>
+<VirtualHost *:443>
+ ServerAlias $SPLINEUID.userpage.spline.inf.fu-berlin.de
+ ServerAlias $SPLINEUID.userpage.spline.de
+ ErrorLog /home/$SPLINEUID/public_html/logs/error.log
+ CustomLog /home/$SPLINEUID/public_html/logs/access.log combined
+ DocumentRoot /home/$SPLINEUID/public_html/webroot
+
+ SuexecUserGroup $SPLINEUID users
+
+ <Location "/php-status">
+ SetHandler proxy:fcgi://php-fpm-$SPLINEUID
+ </Location>
+</VirtualHost>
+
EOF
cat <<EOF >> $TMPFILEPHP