Skip to content

Commit 5563d56

Browse files
gary-kimlafrikszeripath
authored
Update static resources documentation (#10270)
Signed-off-by: Gary Kim <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: zeripath <[email protected]>
1 parent 78859ba commit 5563d56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/doc/usage/reverse-proxies.en-us.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ Nginx can serve static resources directly and proxy only the dynamic requests to
5454
Nginx is optimized for serving static content, while the proxying of large responses might be the opposite of that
5555
(see https://serverfault.com/q/587386).
5656

57-
Download a snap shot of the gitea source repository to `/path/to/gitea/`.
58-
59-
We are only interested in the `public/` directory and you can delete the rest.
57+
Download a snapshot of the Gitea source repository to `/path/to/gitea/`.
58+
After this, run `make webpack` in the repository directory to generate the static resources. We are only interested in the `public/` directory for this task, so you can delete the rest.
59+
(You will need to have [Node with npm](https://nodejs.org/en/download/) and `make` installed to generate the static resources)
6060

6161
Depending on the scale of your user base, you might want to split the traffic to two distinct servers,
6262
or use a cdn for the static files.

0 commit comments

Comments
 (0)