diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-04 22:55:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-08 10:12:44 +0900 |
| commit | 1e6df136d8202c8adf65948527f4c3e7583b338c (patch) | |
| tree | 7c82476f6bbbc71d72ab7e71e39559eca197fd95 /nginx.conf | |
| parent | 54316868c3bec1ff9b04643dfe6c13cf56bf3246 (diff) | |
| download | iosdc-japan-2025-albatross-1e6df136d8202c8adf65948527f4c3e7583b338c.tar.gz iosdc-japan-2025-albatross-1e6df136d8202c8adf65948527f4c3e7583b338c.tar.zst iosdc-japan-2025-albatross-1e6df136d8202c8adf65948527f4c3e7583b338c.zip | |
websocket to polling
Diffstat (limited to 'nginx.conf')
| -rw-r--r-- | nginx.conf | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -3,12 +3,6 @@ events { } http { - # https://nginx.org/en/docs/http/websocket.html - map $http_upgrade $connection_upgrade { - default upgrade; - '' close; - } - server { listen 80; @@ -32,17 +26,6 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } - location /phperkaigi/2025/code-battle/sock/ { - proxy_pass http://api-server; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; - 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; - } - location /phperkaigi/2025/code-battle/ { proxy_pass http://app-server; proxy_set_header Host $host; |
