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

Puter on subfolders #48

Closed
theMackabu opened this issue Mar 7, 2024 · 4 comments
Closed

Puter on subfolders #48

theMackabu opened this issue Mar 7, 2024 · 4 comments

Comments

@theMackabu
Copy link

Currently, when you try to run puter on a subfolder, it redirects to the index after opening/closing applications. Puter works fine until you reload the page. I tried setting the gui_origin to my subfolder, but it seems to still redirect.

@jelveh
Copy link
Contributor

jelveh commented Mar 7, 2024

Could you elaborate on "run puter on a subfolder"? I don't fully understand this.

@theMackabu
Copy link
Author

Could you elaborate on "run puter on a subfolder"? I don't fully understand this.

I currently have this directory tree with the provided nginx config, so the website can be accessed from domain.tld/desktop, but opening any app (Ex. File Manager) sets the path back to domain.tld

/static
└── desktop
    ├── dist
    ├── index.html
    └── puter
location / {
  root /static;
  try_files $uri $uri/ = @not_found;
}

@jelveh
Copy link
Contributor

jelveh commented Mar 10, 2024

Sorry for the delay, at the moment it's strongly recommended to place Puter at the root of your domain/subdomain. I'm going to open a separate issue for this so we can allow for it later on.

@jelveh jelveh closed this as completed Mar 10, 2024
@theMackabu
Copy link
Author

Alright, sounds good!

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

2 participants