Skip to content

Instantly share code, notes, and snippets.

@theanht1
Created July 1, 2020 04:49
Show Gist options
  • Select an option

  • Save theanht1/334719720a2c81e309f4eb156fa916cf to your computer and use it in GitHub Desktop.

Select an option

Save theanht1/334719720a2c81e309f4eb156fa916cf to your computer and use it in GitHub Desktop.
Phoenix app deploy nginx config
        location / {
                proxy_pass http://127.0.0.1:7373;

                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection $http_connection;


                proxy_set_header Origin '';
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment