Skip to content
Snippets Groups Projects
Commit 594bc623 authored by Hiro's avatar Hiro :surfer:
Browse files

Add how to write to static sites

parent 2891813e
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,9 @@ For a list of services and which servers they run on check
* [[git, shell, ldap, etc. accounts|doc/accounts]]
* [[SVN accounts|doc/svn-accounts]]
* [[ssh|doc/ssh-jump-host]]
* [[writing to www, extra, dist, cdn, and other websites|doc/static-sites]]
* [[When using extra.tpo|doc/extra]]
== other, non TSA stuff
......@@ -33,4 +35,3 @@ For a list of services and which servers they run on check
== internal documentation
* [[howto/retire-a-host]]
= When using extra.tpo =
Extra is one of the sites hosted by "the www rotation". The www rotation uses several computers to host
its websites and it is used within tpo for redundancy.
Extra is used to host images that can be linked in blog posts and the like. The idea is that you do not need to
link images from your own computer or people.tpo.
Extra is used like other static sites within tpo.
[[Learn how to write to extra|static-sites]]
= learning how to do an ssh jump host on tpo =
An ssh jump host is an alternative to SSH tunneling to access internal machines at tpo.
ProxyCommand automatically executes ssh command on remote host to jump to the next host and forward all traffic through.
Ex: To perform a ssh jump host and access staticiforme.tpo you might add the following to your ~/.ssh/config
{{{
Host staticiforme.torproject.org
ProxyCommand ssh -l %r -W %h:%p perdulce.torproject.org
untested, for your ~/.ssh/config
}}}
......@@ -10,8 +10,7 @@ like extra.tp.o, dist.tp.o, and more.
How do you edit one of these websites? Let's say you want to edit "extra".
* First you ssh in to staticiforme
(using an ssh jump host if needed [maybe somebody can create a short file
explaining the recommended configuration there?]),
(using an ssh jump host if needed [[learn how to do a ssh jump host|ssh-jump-host]]),
* Then you make your edits as desired to
"/srv/extra-master.torproject.org/htdocs/".
......@@ -25,4 +24,3 @@ time to time. But you can learn which websites are considered "static",
i.e. you can use the above steps to edit them, via:
* "ssh staticiforme cat /etc/static-components.conf"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment