Last active
January 10, 2020 19:30
-
-
Save gandroz/2a510641c67cffdf616846fd63a1a0bc to your computer and use it in GitHub Desktop.
MLflow server configuration
This file contains 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
# Define the parameters for a specific virtual host/server | |
server { | |
# Define the server name, IP address, and/or port of the server | |
listen 80; | |
# Define the specified charset to the “Content-Type” response header field | |
charset utf-8; | |
# Configure NGINX to reverse proxy HTTP requests to the upstream server (uWSGI server) | |
location / { | |
# Define the location of the proxy server to send the request to | |
proxy_pass http://web:5000; | |
# Redefine the header fields that NGINX sends to the upstream server | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment