diff options
author | Eloi Rivard <eloi@yaal.coop> | 2021-10-11 11:05:30 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2021-10-12 12:05:20 +0200 |
commit | 1f5d3c08e3bf8e98fb0175094e09b9fd6cf479a3 (patch) | |
tree | 16534d6881fa6337676771c28e0b95646d8d3971 /hg.sr.ht/configuration.md | |
parent | 74fa066f62e049cfecb7365d479d39aef20f98bd (diff) | |
download | sr.ht-docs-1f5d3c08e3bf8e98fb0175094e09b9fd6cf479a3.tar.gz |
fixed mercurial nginx proxy port
The hg.sr.ht configuration sample [1] uses port 5010 but the nginx
configuration example uses port 5001, that is used by git.sr.ht.
[1] https://hg.sr.ht/~sircmpwn/hg.sr.ht/browse/config.example.ini?rev=tip#L79
Diffstat (limited to 'hg.sr.ht/configuration.md')
-rw-r--r-- | hg.sr.ht/configuration.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hg.sr.ht/configuration.md b/hg.sr.ht/configuration.md index cb508b0..c14c82c 100644 --- a/hg.sr.ht/configuration.md +++ b/hg.sr.ht/configuration.md @@ -42,7 +42,7 @@ yourself in Nginx. Here's an example Nginx configuration: ```nginx location = /authorize { - proxy_pass http://127.0.0.1:5001; + proxy_pass http://127.0.0.1:5010; proxy_pass_request_body off; proxy_set_header Content-Length ""; proxy_set_header X-Original-URI $request_uri; |