forked from indymedia/epicyon
Different nginx configs
parent
b8c7a736e1
commit
d066d11b6a
|
@ -383,9 +383,9 @@ echo "Creating nginx virtual host for http://${I2P_DOMAIN}"
|
|||
echo ' }';
|
||||
echo " proxy_pass http://localhost:${EPICYON_PORT};";
|
||||
echo ' }';
|
||||
echo '}'; } > /etc/nginx/sites-available/epicyon
|
||||
echo '}'; } > /etc/nginx/sites-available/epicyon-i2p
|
||||
|
||||
ln -s /etc/nginx/sites-available/epicyon /etc/nginx/sites-enabled/
|
||||
ln -s /etc/nginx/sites-available/epicyon-i2p /etc/nginx/sites-enabled/
|
||||
systemctl restart nginx
|
||||
|
||||
echo -n "$I2P_DOMAIN" | qrencode
|
||||
|
|
|
@ -295,9 +295,9 @@ echo "Creating nginx virtual host for ${ONION_DOMAIN}"
|
|||
echo ' }';
|
||||
echo " proxy_pass http://localhost:${EPICYON_PORT};";
|
||||
echo ' }';
|
||||
echo '}'; } > /etc/nginx/sites-available/epicyon
|
||||
echo '}'; } > /etc/nginx/sites-available/epicyon-onion
|
||||
|
||||
ln -s /etc/nginx/sites-available/epicyon /etc/nginx/sites-enabled/
|
||||
ln -s /etc/nginx/sites-available/epicyon-onion /etc/nginx/sites-enabled/
|
||||
systemctl restart nginx
|
||||
|
||||
echo -n "$ONION_DOMAIN" | qrencode
|
||||
|
|
Loading…
Reference in New Issue