summaryrefslogtreecommitdiff
path: root/nginx/http.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/http.conf')
-rw-r--r--nginx/http.conf16
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;
+ }
+}