Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Nginx configuration #136

Open
LogimaeCommerce opened this issue Mar 28, 2019 · 0 comments
Open

Nginx configuration #136

LogimaeCommerce opened this issue Mar 28, 2019 · 0 comments

Comments

@LogimaeCommerce
Copy link

LogimaeCommerce commented Mar 28, 2019

Hi!

Cool project, what's the best nginx configuration?

Currently I just have

        location / {
                proxy_pass http://0.0.0.0:3003/;
        }

Which works, but I'm worried it might not be enough.

Other projects you'll have a set of specific configurations such as

location /api/ {
            proxy_pass http://localhost:8100/api/;
    }

    location /order-pwa {
            proxy_pass http://localhost:8100/order/send;
    }

location /img/ {
            proxy_pass http://localhost:8100/img/;
    }
location = /googlebwf2aec2947a.html {
    root /home/bitnami/static;
}

or

upstream client {
    server 127.0.0.1:3001;
}

upstream server {
    server 127.0.0.1:4000;
}

So I am curious if my config is fine or if I should adjust it to something more suitable for this?

Getting errors when doing some functions so that tells me my configurations in the project are not right, could be something else than nginx, but just checking in to see.

Thanks for any help here!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant