Skip to content

Instantly share code, notes, and snippets.

@Dyrcona
Created March 12, 2026 16:11
Show Gist options
  • Select an option

  • Save Dyrcona/d9a54e992f864606657ad469181235dc to your computer and use it in GitHub Desktop.

Select an option

Save Dyrcona/d9a54e992f864606657ad469181235dc to your computer and use it in GitHub Desktop.
Snippet to proxy the Evergreen openapi_server connections without using nginx
# To enable the Evergreen openapi_server proxy without nginx, throw this in your eg_vhosts.conf somewhere:
ProxyRequests off
ProxyPreserveHost on
<Location /openapi3>
ProxyPass http://localhost:8080/openapi3
ProxyPassReverse http://localhost:8080/openapi3
RequestHeader set X-Forwarded-Proto "%{SERVER_PROTOCOL}e"
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment