Potential for ipv6 web pages
This commit is contained in:
parent
f719c40f7c
commit
4324e2d6a5
|
@ -308,6 +308,7 @@ function install_dokuwiki {
|
|||
nginx_http_redirect $DOKUWIKI_DOMAIN_NAME
|
||||
echo 'server {' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME
|
||||
echo ' listen 443 ssl;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME
|
||||
echo ' listen [::]:443 ssl;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME
|
||||
echo " root /var/www/$DOKUWIKI_DOMAIN_NAME/htdocs;" >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME
|
||||
echo " server_name $DOKUWIKI_DOMAIN_NAME;" >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME
|
||||
echo ' access_log /dev/null;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME
|
||||
|
|
|
@ -512,6 +512,7 @@ function install_etherpad {
|
|||
nginx_http_redirect $ETHERPAD_DOMAIN_NAME
|
||||
echo 'server {' >> $etherpad_nginx_site
|
||||
echo ' listen 443 ssl;' >> $etherpad_nginx_site
|
||||
echo ' listen [::]:443 ssl;' >> $etherpad_nginx_site
|
||||
echo " server_name $ETHERPAD_DOMAIN_NAME;" >> $etherpad_nginx_site
|
||||
echo '' >> $etherpad_nginx_site
|
||||
echo ' # Security' >> $etherpad_nginx_site
|
||||
|
|
|
@ -383,6 +383,7 @@ function install_ghost {
|
|||
nginx_http_redirect ${GHOST_DOMAIN_NAME}
|
||||
echo 'server {' >> /etc/nginx/sites-available/${GHOST_DOMAIN_NAME}
|
||||
echo ' listen 443 ssl;' >> /etc/nginx/sites-available/${GHOST_DOMAIN_NAME}
|
||||
echo ' listen [::]:443 ssl;' >> /etc/nginx/sites-available/${GHOST_DOMAIN_NAME}
|
||||
echo " root /var/www/${GHOST_DOMAIN_NAME}/htdocs;" >> /etc/nginx/sites-available/${GHOST_DOMAIN_NAME}
|
||||
echo " server_name ${GHOST_DOMAIN_NAME};" >> /etc/nginx/sites-available/${GHOST_DOMAIN_NAME}
|
||||
echo ' access_log /dev/null;' >> /etc/nginx/sites-available/${GHOST_DOMAIN_NAME}
|
||||
|
|
|
@ -563,6 +563,7 @@ function install_gnusocial_main {
|
|||
nginx_http_redirect $GNUSOCIAL_DOMAIN_NAME
|
||||
echo 'server {' >> $gnusocial_nginx_site
|
||||
echo ' listen 443 ssl;' >> $gnusocial_nginx_site
|
||||
echo ' listen [::]:443 ssl;' >> $gnusocial_nginx_site
|
||||
echo " server_name $GNUSOCIAL_DOMAIN_NAME;" >> $gnusocial_nginx_site
|
||||
echo '' >> $gnusocial_nginx_site
|
||||
echo ' # Security' >> $gnusocial_nginx_site
|
||||
|
|
|
@ -485,6 +485,7 @@ function install_gogs {
|
|||
nginx_http_redirect ${GIT_DOMAIN_NAME}
|
||||
echo 'server {' >> /etc/nginx/sites-available/${GIT_DOMAIN_NAME}
|
||||
echo ' listen 443 ssl;' >> /etc/nginx/sites-available/${GIT_DOMAIN_NAME}
|
||||
echo ' listen [::]:443 ssl;' >> /etc/nginx/sites-available/${GIT_DOMAIN_NAME}
|
||||
echo " root /var/www/${GIT_DOMAIN_NAME}/htdocs;" >> /etc/nginx/sites-available/${GIT_DOMAIN_NAME}
|
||||
echo " server_name ${GIT_DOMAIN_NAME};" >> /etc/nginx/sites-available/${GIT_DOMAIN_NAME}
|
||||
echo ' access_log /dev/null;' >> /etc/nginx/sites-available/${GIT_DOMAIN_NAME}
|
||||
|
|
|
@ -433,6 +433,7 @@ function install_htmly_website {
|
|||
nginx_http_redirect $HTMLY_DOMAIN_NAME
|
||||
echo 'server {' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME
|
||||
echo ' listen 443 ssl;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME
|
||||
echo ' listen [::]:443 ssl;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME
|
||||
echo " root /var/www/$HTMLY_DOMAIN_NAME/htdocs;" >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME
|
||||
echo " server_name $HTMLY_DOMAIN_NAME;" >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME
|
||||
echo ' access_log /dev/null;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME
|
||||
|
|
|
@ -389,6 +389,7 @@ function install_hubzilla {
|
|||
nginx_http_redirect $HUBZILLA_DOMAIN_NAME
|
||||
echo 'server {' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME
|
||||
echo ' listen 443 ssl;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME
|
||||
echo ' listen [::]:443 ssl;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME
|
||||
echo " root $HUBZILLA_PATH;" >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME
|
||||
echo " server_name $HUBZILLA_DOMAIN_NAME;" >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME
|
||||
echo " error_log /var/log/nginx/${HUBZILLA_DOMAIN_NAME}_error_ssl.log $WEBSERVER_LOG_LEVEL;" >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME
|
||||
|
|
|
@ -287,6 +287,7 @@ function install_jitsi {
|
|||
echo '}' >> $jitsi_nginx_site
|
||||
echo 'server {' >> $jitsi_nginx_site
|
||||
echo ' listen 443 ssl;' >> $jitsi_nginx_site
|
||||
echo ' listen [::]:443 ssl;' >> $jitsi_nginx_site
|
||||
echo " server_name ${JITSI_DOMAIN_NAME};" >> $jitsi_nginx_site
|
||||
echo '' >> $jitsi_nginx_site
|
||||
echo ' ssl_protocols TLSv1 TLSv1.1 TLSv1.2;' >> $jitsi_nginx_site
|
||||
|
|
|
@ -239,6 +239,7 @@ function install_lychee_website {
|
|||
nginx_http_redirect $LYCHEE_DOMAIN_NAME
|
||||
echo 'server {' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME
|
||||
echo ' listen 443 ssl;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME
|
||||
echo ' listen [::]:443 ssl;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME
|
||||
echo " root /var/www/$LYCHEE_DOMAIN_NAME/htdocs;" >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME
|
||||
echo " server_name $LYCHEE_DOMAIN_NAME;" >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME
|
||||
echo ' access_log /dev/null;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME
|
||||
|
|
|
@ -301,6 +301,7 @@ function install_mailpile {
|
|||
nginx_http_redirect $MAILPILE_DOMAIN_NAME
|
||||
echo 'server {' >> $mailpile_nginx_site
|
||||
echo ' listen 443 ssl;' >> $mailpile_nginx_site
|
||||
echo ' listen [::]:443 ssl;' >> $mailpile_nginx_site
|
||||
echo " server_name $MAILPILE_DOMAIN_NAME;" >> $mailpile_nginx_site
|
||||
echo '' >> $mailpile_nginx_site
|
||||
echo ' # Security' >> $mailpile_nginx_site
|
||||
|
|
|
@ -407,6 +407,7 @@ function install_postactiv_main {
|
|||
nginx_http_redirect $POSTACTIV_DOMAIN_NAME
|
||||
echo 'server {' >> $postactiv_nginx_site
|
||||
echo ' listen 443 ssl;' >> $postactiv_nginx_site
|
||||
echo ' listen [::]:443 ssl;' >> $postactiv_nginx_site
|
||||
echo " server_name $POSTACTIV_DOMAIN_NAME;" >> $postactiv_nginx_site
|
||||
echo '' >> $postactiv_nginx_site
|
||||
echo ' # Security' >> $postactiv_nginx_site
|
||||
|
|
Loading…
Reference in New Issue