diff --git a/example-tor-nginx.conf b/example-tor-nginx.conf deleted file mode 100644 index 8703e52..0000000 --- a/example-tor-nginx.conf +++ /dev/null @@ -1,36 +0,0 @@ -#replace everything in <> with your own values - -events { - worker_connections 1024; -} - -http { - include mime.types; - default_type application/octet-stream; - - server { - listen 127.0.0.1:; - server_name xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.onion; - allow 127.0.0.1; - deny all; - server_tokens off; - rewrite ^/(.*) http://binternet.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.onion/$1 permanent; - } - - server { - listen 127.0.0.1:; - server_name binternet.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.onion; - allow 127.0.0.1; - deny all; - server_tokens off; - root ; - index index.php; - - location ~ \.php$ { - try_files $uri $uri/ =404; - fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass unix:/run/php-fpm/php-fpm.sock; - include fastcgi.conf; - } - } -}