Created
March 12, 2026 16:11
-
-
Save Dyrcona/d9a54e992f864606657ad469181235dc to your computer and use it in GitHub Desktop.
Snippet to proxy the Evergreen openapi_server connections without using nginx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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