Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
c5cab1ad
Unverified
Commit
c5cab1ad
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
more cosmetic changes to static sites docs
parent
985cafe4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsa/doc/static-sites.creole
+12
-9
12 additions, 9 deletions
tsa/doc/static-sites.creole
with
12 additions
and
9 deletions
tsa/doc/static-sites.creole
+
12
−
9
View file @
c5cab1ad
[[!meta title="
writing to www, extra, dist, cdn, and other websit
es"]]
[[!meta title="
How make website chang
es"]]
The https://www.torproject.org website is hosted at several computers for
redundancy, and these computers are together called "the www
rotation". The www rotation serves a variety of other websites too,
like extra.tp.o, dist.tp.o, and more.
How to change the website
=========================
How do you edit one of these websites? Let's say you want to edit `extra`.
The [[https://www.torproject.org|Tor website]] is hosted at several
computers for redundancy, and these computers are together called "the
www rotation". The www rotation serves a variety of other websites
too, like extra.tp.o, dist.tp.o, and more.
* First you ssh in to {{{staticiforme}}} (using an ssh jump host if needed
[[learn how to do a ssh jump host|ssh-jump-host]])
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|ssh-jump-host]] if needed)
* Then you make your edits as desired to
{{{/srv/extra-master.torproject.org/htdocs/}}}
...
...
@@ -21,7 +24,7 @@ sudo -u mirroradm static-update-component extra.torproject.org
}}}
Example: You want to copy image.png from your Desktop to your blog
post indexed as
**
2017-01-01-new-blog-post
**
:
post indexed as
{{
2017-01-01-new-blog-post
}}
:
{{{
scp /home/user/Desktop/image.png staticiforme.torproject.org:/srv/extra-master.torproject.org/htdocs/blog/2017-01-01-new-blog-post/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment