diff options
Diffstat (limited to 'doc/documentation/chapters/user.texi')
-rw-r--r-- | doc/documentation/chapters/user.texi | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/documentation/chapters/user.texi b/doc/documentation/chapters/user.texi index 9a5c41d34..c105a2b2b 100644 --- a/doc/documentation/chapters/user.texi +++ b/doc/documentation/chapters/user.texi | |||
@@ -228,7 +228,7 @@ You must also go to about:config and change the | |||
228 | otherwise the browser will autoblunder an address like | 228 | otherwise the browser will autoblunder an address like |
229 | @code{@uref{http://www.gnu/, www.gnu}} to | 229 | @code{@uref{http://www.gnu/, www.gnu}} to |
230 | @code{@uref{http://www.gnu.com/, www.gnu.com}}. If you want | 230 | @code{@uref{http://www.gnu.com/, www.gnu.com}}. If you want |
231 | to resolve ``@'' in your own TLDs, you must additionally | 231 | to resolve @@ in your own TLDs, you must additionally |
232 | set @code{browser.fixup.dns_first_use_for_single_words} to @code{true}. | 232 | set @code{browser.fixup.dns_first_use_for_single_words} to @code{true}. |
233 | 233 | ||
234 | After configuring your browser, you might want to first confirm that it | 234 | After configuring your browser, you might want to first confirm that it |
@@ -2004,7 +2004,7 @@ $ gnunet-namestore -z id -a -n reclaim -t BOX -V "$BOXVALUE" -e 1d -p | |||
2004 | 2004 | ||
2005 | NGINX setup: | 2005 | NGINX setup: |
2006 | @example | 2006 | @example |
2007 | server { | 2007 | server @{ |
2008 | listen 443; | 2008 | listen 443; |
2009 | server_name reclaim.id.local; | 2009 | server_name reclaim.id.local; |
2010 | ssl on; | 2010 | ssl on; |
@@ -2014,11 +2014,11 @@ server { | |||
2014 | ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | 2014 | ssl_protocols TLSv1 TLSv1.1 TLSv1.2; |
2015 | ssl_session_cache shared:SSL:10m; | 2015 | ssl_session_cache shared:SSL:10m; |
2016 | 2016 | ||
2017 | location /api { | 2017 | location /api @{ |
2018 | rewrite /api/(.*) /$1 break; | 2018 | rewrite /api/(.*) /$1 break; |
2019 | proxy_pass http://127.0.0.1:7776; | 2019 | proxy_pass http://127.0.0.1:7776; |
2020 | } | 2020 | @} |
2021 | } | 2021 | @} |
2022 | @end example | 2022 | @end example |
2023 | 2023 | ||
2024 | This will expose the REST API of GNUnet at https://reclaim.id/api. | 2024 | This will expose the REST API of GNUnet at https://reclaim.id/api. |
@@ -2039,12 +2039,12 @@ Now setup a webserver to serve the compiled website under "dist/". | |||
2039 | Now we can add the user interfce to our NGINX configuraiton: | 2039 | Now we can add the user interfce to our NGINX configuraiton: |
2040 | 2040 | ||
2041 | @example | 2041 | @example |
2042 | server { | 2042 | server @{ |
2043 | ... | 2043 | ... |
2044 | location / { | 2044 | location / @{ |
2045 | proxy_pass http://<whereever you serve the UI>; | 2045 | proxy_pass http://<whereever you serve the UI>; |
2046 | } | 2046 | @} |
2047 | } | 2047 | @} |
2048 | @end example | 2048 | @end example |
2049 | 2049 | ||
2050 | You can thest your setup by accessing https://reclaim.id in your browser through the GNS proxy. | 2050 | You can thest your setup by accessing https://reclaim.id in your browser through the GNS proxy. |