Skip to content

Nginx Proxy

Nginx Proxy other nginx which is in docker container

Nginx Configuration File
server {

    server_name harbor.kafana.dev;
    listen 80;
    location / {
        proxy_pass http://nginx:8080;
    }
}

server {

    server_name harbor.kafana.dev;
    listen 443;
    location / {
        proxy_pass https://nginx:8443;
    client_max_body_size 25G;

    }
}

Nginx Proxy Pass With Location

Nginx Configuration File
server {
        listen 8080;
        location /webapp/ {
            proxy_pass http://172.10.50.110:5000/api/;
Back to top