http { server { listen 7860; server_name _; location / { root /app/public; index index.html; } location /jupyter/ { proxy_pass http://localhost:8888; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } } }