diff --git a/.platform/nginx/conf.d/elasticbeanstalk/00_application.conf b/.platform/nginx/conf.d/elasticbeanstalk/00_application.conf index b66c026e..5f705886 100644 --- a/.platform/nginx/conf.d/elasticbeanstalk/00_application.conf +++ b/.platform/nginx/conf.d/elasticbeanstalk/00_application.conf @@ -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; diff --git a/pages/_app.js b/pages/_app.js index eae0062d..28538ee0 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -43,7 +43,6 @@ function MyApp ({ Component, pageProps: { session, ...props } }) { /> -