revert(example-tor-nginx.conf): I don't think we need this as I don't want to be support for people doing this

This commit is contained in:
Ahwx 2023-09-05 15:52:22 +02:00 committed by GitHub
parent 8989f20da9
commit a9ee9309b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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:<port>;
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:<port>;
server_name binternet.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.onion;
allow 127.0.0.1;
deny all;
server_tokens off;
root <path_to_Binternet>;
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;
}
}
}