DIVA- nginx issue #98

Closed
opened 2024-01-30 06:56:27 +00:00 by DSRLIN · 1 comment
Contributor

Nowadays nginx follows the RFC standard that force server to respond 400 when they receive an abnormal header and don't care whether the http request's version is 1.1 or not.
see: https://github.com/nginx/nginx/blob/master/src/http/ngx_http_request.c#L2145

Project Diva sends requests without host header, so if using nginx in production environment, this will cause issues.
Maybe in production environment users could use other proxies instead, like haproxy. This reverse proxy can forcely rewrite requests' header including host.

Nowadays nginx follows the RFC standard that force server to respond 400 when they receive an abnormal header and don't care whether the http request's version is 1.1 or not. see: https://github.com/nginx/nginx/blob/master/src/http/ngx_http_request.c#L2145 Project Diva sends requests without host header, so if using nginx in production environment, this will cause issues. Maybe in production environment users could use other proxies instead, like haproxy. This reverse proxy can forcely rewrite requests' header including host.
Collaborator

Not too sure what you are reporting as an issue since i have tested on a cabinet and it was connecting just fine even under nginx

Mind giving a bit more details on what issue you have faced?

Here is some logs from my last gameplay which did use nginx:

image

Not too sure what you are reporting as an issue since i have tested on a cabinet and it was connecting just fine even under nginx Mind giving a bit more details on what issue you have faced? Here is some logs from my last gameplay which did use nginx: ![image](/attachments/9dbd12c8-79ab-472e-ac01-00ef351bc939)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hay1tsme/artemis#98
No description provided.