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

Installation at non-root url path #162

Open
Chaz6 opened this issue Dec 23, 2022 · 0 comments
Open

Installation at non-root url path #162

Chaz6 opened this issue Dec 23, 2022 · 0 comments

Comments

@Chaz6
Copy link

Chaz6 commented Dec 23, 2022

I would like to run cowyo behind a proxy, accessed from a path such as /app/f7a7faa8-f77f-4f62-a39c-f5b2d670f872 however when I try to access the url, the browser is redirected to a url like /PreviousPlatypus which returns 404 since it is not available at that location.

This my docker-compose.yml:-

version: "3"
services:
  cowyo_app:
    container_name: cowyo
    image: "schollz/cowyo:latest"
    restart: always
    volumes:
      - "./data:/data:Z"
    ports:
      - "9005:8050"

This is the relevant config for nginx:-

# cowyn app
location ^~ /app/f7a7faa8-f77f-4f62-a39c-f5b2d670f872/ {
  proxy_pass http://127.0.0.1:9005/;
}
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