decided i want to die
This commit is contained in:
parent
dd686ca0c6
commit
cf576111d0
|
@ -7,9 +7,11 @@ This project sets up a simple HTTP proxy using Ruby and Nginx. It's designed to
|
||||||
To install the necessary dependencies and set up the proxy, run the following command:
|
To install the necessary dependencies and set up the proxy, run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash installer.sh
|
sudo bash installer.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Please dont forget to copy the installer from /root/ruby-proxy to your home directory and to change its owner recursively
|
||||||
|
|
||||||
This will:
|
This will:
|
||||||
|
|
||||||
Install Ruby and the 'webrick' gem.
|
Install Ruby and the 'webrick' gem.
|
||||||
|
|
|
@ -47,7 +47,7 @@ read -p "Enter proxy_set_header (the host header for the website you wanna modif
|
||||||
# Create the Nginx config file
|
# Create the Nginx config file
|
||||||
if [ ! -f /etc/nginx/sites-available/ruby-proxy ]; then
|
if [ ! -f /etc/nginx/sites-available/ruby-proxy ]; then
|
||||||
echo "Creating Nginx configuration file..."
|
echo "Creating Nginx configuration file..."
|
||||||
cat << EOF > /etc/nginx/sites-available/ruby-proxy
|
sudo cat << EOF > /etc/nginx/sites-available/ruby-proxy
|
||||||
resolver 8.8.8.8;
|
resolver 8.8.8.8;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
Loading…
Reference in New Issue