http redirect for mediagoblin
This commit is contained in:
parent
8ad32314ed
commit
8eb58e8419
|
@ -9670,7 +9670,8 @@ function install_mediagoblin {
|
|||
|
||||
# web config
|
||||
MEDIAGOBLIN_VIRTUAL_HOST=/etc/nginx/sites-available/$MEDIAGOBLIN_DOMAIN_NAME
|
||||
echo 'server {' > $MEDIAGOBLIN_VIRTUAL_HOST
|
||||
nginx_http_redirect $MEDIAGOBLIN_DOMAIN_NAME
|
||||
echo 'server {' >> $MEDIAGOBLIN_VIRTUAL_HOST
|
||||
echo ' listen 443 ssl;' >> $MEDIAGOBLIN_VIRTUAL_HOST
|
||||
echo ' #################################################' >> $MEDIAGOBLIN_VIRTUAL_HOST
|
||||
echo ' # Stock useful config options, but ignore them :)' >> $MEDIAGOBLIN_VIRTUAL_HOST
|
||||
|
|
Loading…
Reference in New Issue