mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
readme: add nginx file server directive
This commit is contained in:
parent
0d2067e33e
commit
d8d2cbe0f7
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ If you use nginx as a reverse HTTP proxy, make sure to bump the default read
|
|||
timeout to a value higher than the IRC server PING interval. Example:
|
||||
|
||||
```
|
||||
location / {
|
||||
root /path/to/gamja;
|
||||
}
|
||||
|
||||
location /socket {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_read_timeout 600s;
|
||||
|
|
Loading…
Reference in a new issue