pelican
This commit is contained in:
parent
c6e157a105
commit
601b62e3d6
|
@ -104,7 +104,7 @@ function install_pelican_website {
|
|||
|
||||
function install_pelican_website_onion {
|
||||
echo 'server {' >> /etc/nginx/sites-available/$PELICAN_DOMAIN_NAME
|
||||
echo " listen 127.0.0.1:${HTMLY_ONION_PORT} default_server;" >> /etc/nginx/sites-available/$PELICAN_DOMAIN_NAME
|
||||
echo " listen 127.0.0.1:${PELICAN_ONION_PORT} default_server;" >> /etc/nginx/sites-available/$PELICAN_DOMAIN_NAME
|
||||
echo " root /var/www/${PELICAN_DOMAIN_NAME}/htdocs;" >> /etc/nginx/sites-available/$PELICAN_DOMAIN_NAME
|
||||
echo " server_name ${PELICAN_DOMAIN_NAME};" >> /etc/nginx/sites-available/$PELICAN_DOMAIN_NAME
|
||||
echo ' access_log /dev/null;' >> /etc/nginx/sites-available/$PELICAN_DOMAIN_NAME
|
||||
|
|
Loading…
Reference in New Issue