mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
Different nginx configs
This commit is contained in:
1 parent
b8c7a736e1
commit
d066d11b6a
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user