add onion address
This commit is contained in:
parent
1e58d7e92a
commit
fde8937098
|
@ -12,6 +12,8 @@ files:
|
|||
HTTPTunnelPort 127.0.0.1:7050
|
||||
SocksPort 0
|
||||
Log notice syslog
|
||||
HiddenServiceDir /var/lib/tor/sn/
|
||||
HiddenServicePort 80 127.0.0.1:443
|
||||
services:
|
||||
sysvinit:
|
||||
tor:
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
Resources:
|
||||
AWSEBAutoScalingGroup:
|
||||
Metadata:
|
||||
AWS::CloudFormation::Authentication:
|
||||
S3Auth:
|
||||
type: "s3"
|
||||
buckets: ["elasticbeanstalk-us-east-1-685922807022"]
|
||||
roleName:
|
||||
"Fn::GetOptionSetting":
|
||||
Namespace: "aws:autoscaling:launchconfiguration"
|
||||
OptionName: "IamInstanceProfile"
|
||||
DefaultValue: "aws-elasticbeanstalk-ec2-role"
|
||||
files:
|
||||
"/var/lib/tor/sn/hostname" :
|
||||
mode: "000600"
|
||||
owner: toranon
|
||||
group: toranon
|
||||
authentication: "S3Auth"
|
||||
source: https://elasticbeanstalk-us-east-1-685922807022.s3.amazonaws.com/sn/hostname
|
||||
"/var/lib/tor/sn/hs_ed25519_public_key" :
|
||||
mode: "000600"
|
||||
owner: toranon
|
||||
group: toranon
|
||||
authentication: "S3Auth"
|
||||
source: https://elasticbeanstalk-us-east-1-685922807022.s3.amazonaws.com/sn/hs_ed25519_public_key
|
||||
"/var/lib/tor/sn/hs_ed25519_secret_key" :
|
||||
mode: "000600"
|
||||
owner: toranon
|
||||
group: toranon
|
||||
authentication: "S3Auth"
|
||||
source: https://elasticbeanstalk-us-east-1-685922807022.s3.amazonaws.com/sn/hs_ed25519_secret_key
|
||||
|
|
@ -25,7 +25,6 @@ http {
|
|||
}
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen 8008 default_server;
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import React, { useContext, useEffect, useState } from 'react'
|
|||
import { Button } from 'react-bootstrap'
|
||||
import useSWR from 'swr'
|
||||
|
||||
const fetcher = url => fetch(url).then(res => res.json())
|
||||
const fetcher = url => fetch(url).then(res => res.json()).catch()
|
||||
|
||||
export const PriceContext = React.createContext({
|
||||
price: null
|
||||
|
|
|
@ -43,6 +43,7 @@ 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