diff options
| author | Mistivia <i@mistivia.com> | 2025-11-02 15:39:26 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-11-02 15:39:26 +0800 |
| commit | bf805a3acba7f2c624c93af892d823033d47f0c2 (patch) | |
| tree | 3fa2c86f994fb2da79115ba552412d8818e63a62 /nginx/http.conf | |
| parent | a1f5ffef8fc167d44a2bdfc4b3ba8a0ad39f201b (diff) | |
add nginx config
Diffstat (limited to 'nginx/http.conf')
| -rw-r--r-- | nginx/http.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nginx/http.conf b/nginx/http.conf new file mode 100644 index 0000000..0b46a72 --- /dev/null +++ b/nginx/http.conf @@ -0,0 +1,16 @@ +server { + listen 443 ssl; + listen [::]:443 ssl; + server_name raye.mistivia.com; + # ... + location /webirc { + proxy_pass http://127.0.0.1:8067; + proxy_read_timeout 600s; + proxy_http_version 1.1; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; + } +} |
