add Onion-Location header
This commit is contained in:
parent
42e31f49ee
commit
b8f57e0c3c
|
@ -11,6 +11,8 @@ location / {
|
|||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
add_header Onion-Location http://snsnsnya6h3ot563f3p566wuhfoklkg5f62hokdlaqzcaub3gf4xlxyd.onion$request_uri;
|
||||
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ function MyApp ({ Component, pageProps: { session, ...props } }) {
|
|||
/>
|
||||
<Head>
|
||||
<meta name='viewport' content='initial-scale=1.0, width=device-width' />
|
||||
<meta http-equiv='onion-location' content='http://snsnsnya6h3ot563f3p566wuhfoklkg5f62hokdlaqzcaub3gf4xlxyd.onion' />
|
||||
</Head>
|
||||
<PlausibleProvider domain='stacker.news' trackOutboundLinks>
|
||||
<Provider session={session}>
|
||||
|
|
Loading…
Reference in New Issue