I am trying to create a hidden service in TOR this due to learning reasons.
It all seems to work fine when I want to use this normally with HTML.
But as soon as I want to install a dynamic web application such as the open source forum software PHPBB comes instead:
http://ONIONURL.onion/install/app.php
So with 8080
and it doesn't work like that:
http://ONIONURL.onion:8080/install/app.php
My Setup is:
- phpBB 3.3.4
- VPS Cloud Server with 8 GB Ram
- PHP 7.3 (fpm) with extensions
- MariaDB Newest Version
- Chmod correctly
My Nginx conf:
server {
listen 127.0.0.1:8080 default_server;
server_name localhost;
root /var/hiddenwww;
index index.php index.html index.htm;
server_tokens off;
location / {
allow 127.0.0.1;
deny all;
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
I have already tried many variants in the config.
I'm really lost and maybe someone had the problem and can help me.
By the way, I was inspired by this tutorial.