Changeset d2b7247 in Klonkt for deploy/nginx.conf.example
- Timestamp:
- 06/27/2026 09:53:29 PM (2 months ago)
- Branches:
- main
- Children:
- 907a013
- Parents:
- abdcf33
- File:
-
- 1 edited
-
deploy/nginx.conf.example (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
deploy/nginx.conf.example
rabdcf33 rd2b7247 1 1 # ────────────────────────────────────────────────────────────────── 2 # PrutCMS v10— nginx reverse proxy2 # Klonkt — nginx reverse proxy 3 3 # 4 # Place this in /etc/nginx/sites-available/ prutcmsand symlink to4 # Place this in /etc/nginx/sites-available/klonkt and symlink to 5 5 # /etc/nginx/sites-enabled/. Replace <YOUR-DOMAIN> with the real host. 6 6 # 7 7 # Key points: 8 8 # • SSL termination here; Node listens on 127.0.0.1:3000 only. 9 # • WebSocket upgrade headers wired through ( Prutter live messaging).9 # • WebSocket upgrade headers wired through (in case any route uses WS). 10 10 # • Static assets cached aggressively (Node gives them 1y maxAge anyway). 11 11 # • Audio streaming endpoint /audio/stream/* must NOT be cached by nginx — … … 14 14 # 15 15 # After installing: 16 # sudo ln -s /etc/nginx/sites-available/ prutcms/etc/nginx/sites-enabled/16 # sudo ln -s /etc/nginx/sites-available/klonkt /etc/nginx/sites-enabled/ 17 17 # sudo nginx -t 18 18 # sudo systemctl reload nginx … … 96 96 } 97 97 98 # ── WebSocket: Prutter live chat. Long-lived connection.98 # ── WebSocket: long-lived connection (in case any route uses WS). 99 99 location /ws/ { 100 100 proxy_pass http://127.0.0.1:3000;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)