Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How setup nginx reverse proxy? #2783

Open
HuJK opened this issue Sep 12, 2019 · 0 comments
Open

How setup nginx reverse proxy? #2783

HuJK opened this issue Sep 12, 2019 · 0 comments

Comments

@HuJK
Copy link

HuJK commented Sep 12, 2019

command:

docker run -it -v /var/run/docker.sock:/var/run/docker.sock \
               -v /root/codenvy:/data \
               codenvy/cli start

Error:

         mem (1.5 GiB):           [OK]
         disk (100 MB):           [OK]
         port 80 (http):          [ALREADY IN USE] 
         port 443 (https):        [ALREADY IN USE] 
         port 2181 (zookeeper):   [AVAILABLE] 
         port 5000 (registry):    [AVAILABLE] 
         port 23750 (socat):      [AVAILABLE] 
         port 23751 (swarm):      [AVAILABLE] 
         port 32000 (jmx):        [AVAILABLE] 
         port 32001 (jmx):        [AVAILABLE]

But I had already running nginx on it. How to make it don't bind 80 and 443 port on host network?
I will set reverse proxy on specific domain name on nginx to reverse proxy to it later.

@HuJK HuJK changed the title How to change port number How to change http/https port number Sep 12, 2019
@HuJK HuJK changed the title How to change http/https port number How setup nginx reverse proxy? Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant