move onion address to nginx header
This commit is contained in:
@ -22,6 +22,7 @@ server {
|
||||
root /var/www/html;
|
||||
index index.php index.html index.htm;
|
||||
|
||||
add_header Onion-Location http://oilydada7ckiseinkbeathsefwgkvjrce743xy7x7iiybkuxh4vheead.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://backend:8000/;
|
||||
|
@ -22,6 +22,7 @@ server {
|
||||
root /var/www/html;
|
||||
index index.php index.html index.htm;
|
||||
|
||||
add_header Onion-Location http://oilydada7ckiseinkbeathsefwgkvjrce743xy7x7iiybkuxh4vheead.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://backend:8000/;
|
||||
|
Reference in New Issue
Block a user