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:
|
timeout to a value higher than the IRC server PING interval. Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
location / {
|
||||||
|
root /path/to/gamja;
|
||||||
|
}
|
||||||
|
|
||||||
location /socket {
|
location /socket {
|
||||||
proxy_pass http://127.0.0.1:8080;
|
proxy_pass http://127.0.0.1:8080;
|
||||||
proxy_read_timeout 600s;
|
proxy_read_timeout 600s;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue