feat: initial Nginx templates

This commit is contained in:
lingkai5wu committed 2026-09-18 19:12:34 +08:00
commit 0bced87fff
6 files changed
+91

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# set headers
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# enable websockets: http://nginx.org/en/docs/http/websocket.html
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;