mirror of
https://codeberg.org/postscriptum/gemlog.git
synced 2026-02-19 06:22:41 +00:00
initial commit
This commit is contained in:
commit
259fee630b
127 changed files with 7811 additions and 0 deletions
24
public/en/tcp-streaming-over-nginx.gmi
Normal file
24
public/en/tcp-streaming-over-nginx.gmi
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# TCP streaming over Nginx
|
||||
|
||||
Solution useful for all TCP-based protocols like
|
||||
|
||||
* Gopher
|
||||
* Gemini
|
||||
* Spartan
|
||||
* NEX
|
||||
* NPS
|
||||
|
||||
Last one does not require TLS, where configuration much simpler
|
||||
|
||||
``` /etc/nginx/nginx.conf
|
||||
stream {
|
||||
server {
|
||||
listen 1915;
|
||||
proxy_pass 127.0.0.1:1915;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
For encrypted connections, follow documentation
|
||||
|
||||
=> https://nginx.org/en/docs/stream/ngx_stream_core_module.html
|
||||
Loading…
Add table
Add a link
Reference in a new issue