mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 05:52:10 +07:00
feat: Added tor hidden service via HTTP header #161
The `Onion-Location` header was added to Nginx example configuration.
This commit is contained in:
parent
a936cb343b
commit
9b48c4731a
2 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,7 @@ See the [Makefile](./Makefile).
|
|||
- :white_check_mark: Use `a-h/templ` and `HTMX` instead of `Svelte`.
|
||||
- Use Go standard `net/http` instead of `fiber`.
|
||||
- :white_check_mark: Accept I2P nodes.
|
||||
- :white_check_mark: Support Tor hidden service (beta, inform via HTTP header).
|
||||
|
||||
## Acknowledgement
|
||||
|
||||
|
|
|
@ -44,6 +44,9 @@ server {
|
|||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-Download-Options noopen;
|
||||
|
||||
# Add your onion URL here if you support it
|
||||
# add_header Onion-Location http://<YOUR-ONION-ADDRESS>.onion$request_uri;
|
||||
|
||||
location = /robots.txt {
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
|
|
Loading…
Reference in a new issue