mirror of https://gitlab.com/bashrc2/epicyon
nginx configuration
parent
5385c1571c
commit
f3dad2b1de
|
|
@ -390,7 +390,7 @@ echo "Creating nginx virtual host for http://${I2P_DOMAIN}"
|
|||
echo ' proxy_redirect off;';
|
||||
echo ' proxy_request_buffering off;';
|
||||
echo ' proxy_buffering off;';
|
||||
echo " proxy_pass http://localhost:${EPICYON_PORT};";
|
||||
echo " proxy_pass http://127.0.0.1:${EPICYON_PORT};";
|
||||
echo ' tcp_nodelay on;';
|
||||
echo ' }';
|
||||
echo '}'; } > /etc/nginx/sites-available/${username}
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ echo "Creating nginx virtual host for ${ONION_DOMAIN}"
|
|||
echo ' proxy_redirect off;';
|
||||
echo ' proxy_request_buffering off;';
|
||||
echo ' proxy_buffering off;';
|
||||
echo " proxy_pass http://localhost:${EPICYON_PORT};";
|
||||
echo " proxy_pass http://127.0.0.1:${EPICYON_PORT};";
|
||||
echo ' tcp_nodelay on;';
|
||||
echo ' }';
|
||||
echo '}'; } > "/etc/nginx/sites-available/${username}"
|
||||
|
|
|
|||
|
|
@ -297,7 +297,7 @@ echo "Creating nginx virtual host for http://[${YGGDRASIL_ADDRESS}]"
|
|||
echo ' proxy_redirect off;';
|
||||
echo ' proxy_request_buffering off;';
|
||||
echo ' proxy_buffering off;';
|
||||
echo " proxy_pass http://localhost:${EPICYON_PORT};";
|
||||
echo " proxy_pass http://127.0.0.1:${EPICYON_PORT};";
|
||||
echo ' tcp_nodelay on;';
|
||||
echo ' }';
|
||||
echo '}'; } > /etc/nginx/sites-available/${username}
|
||||
|
|
|
|||
Loading…
Reference in New Issue