decided i want to die

This commit is contained in:
Roxy 2023-07-07 09:37:43 +02:00
parent dd686ca0c6
commit cf576111d0
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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 {