mirror of
https://github.com/Ahwxorg/Binternet.git
synced 2026-03-11 08:54:37 +00:00
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:
parent
8989f20da9
commit
a9ee9309b8
1 changed files with 0 additions and 36 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue