Why? Well, because a password is needed, or the site belongs to a private network of organizations. You probably think that if it doesn’t show up on these search engines, then it doesn’t exist, wrong! Believe it or not, there are things on the web that will never show up on your traditional search engine, no matter how hard you may try. In /etc/nginx/conf.d/.conf add the Onion-Location header and the Onion Service address.When you go online to search for something, you either go to search engines such as Google or Bing. HiddenServicePort 80 unix:/var/run/tor-hs-my-website.sock Create an Onion service by setting the following in torrc: HiddenServiceDir /var/lib/tor/hs-my-website/ To configure an Onion-Location header, the service operator should first configure an Onion service. Or open the website in Tor Browser and a purple pill will appear in the address bar. Look for onion-location entry and the Onion Service address. To test if Onion-Location is working, fetch the website HTTP headers, for example: $ wget -server-response -spider your-website.tld Reload the apache2 service, so your configuration changes take effect: $ sudo systemctl reload apache2 SSLCertificateFile "/path/to/SSLCertificateKeyFile "/path/to/ Add the Onion-Location header to your Virtual Host configuration file Header set Onion-Location "s" If you get an error message, something has gone wrong and you cannot continue until you've figured out why this didn't work. Enable headers and rewrite modules and reload Apache2 $ sudo a2enmod headers rewrite To configure this header in Apache 2.2 or above, you will need to enable a headers and rewrite modules and edit the website Virtual Host file. On this page, the commands to manage the web server are based on Debian-like operating systems and may differ from other systems.Ĭheck your web server and operating system documentation. The webpage defining the Onion-Location header must not be an onion site.The webpage defining the Onion-Location header must be served over HTTPS.The Onion-Location value must be a valid URL with http: or https: protocol and a.You can either configure a web server to show an Onion-Location Header or add an HTML attribute in the website.įor the header to be valid the following conditions need to be fulfilled: Onion-Location is an easy way to advertise an onion site to the users.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |