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
Not really a bug but an installation question. >< #46
Comments
Sure! Can you show me your config file? |
I think I figured it out. I changed the baseurl part ^^
…On Thu, Aug 3, 2017 at 3:13 PM, Kana ***@***.***> wrote:
Sure! Can you show me your config file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH02UriGuWUfY8rw0UhjAUEwygz3XGdwks5sUdV0gaJpZM4OsIoi>
.
|
Great then, enjoy! |
Hello, I just wanted to re-open this as I am having the same problem and I 1 other person I talked to about this had the same problem. The OP didn't give a very detailed response on how he fixed it, attached is my config file (yes, it's normally .js). If you want me to open up another report let me know as well. It's setup pretty much the same as far as the problem. example: I am using Nginx and restarting lolisafe.js and nginx between config changes and hard refreshing the site. Thank you for your help and work. |
Could you please tell me what should the final URL look like and how does it look like for you with this config? |
Should be https://img.site.me/picture.png (I'd assume) With this config, I get https://i.site.me/i.site.me/picture.png I setup a subdomain for lolisafe under i.site.me. I got the same results if I changed the config to i.site.me for the host: and resolve: with all the restarts as well Edit: Worth noting, the plain text URL shows as: i.site.me/picture.png but the clickable link is what leads to https://i.site.me/i.site.me/picture.png |
Try with domains: [
{ host: 'img.site.me', resolve: 'https://img.site.me'},
] Replace your domains array with this one and tell me if it works. |
Same exact results (still referencing i.site.com). I restarted lolisafe.js and nginx service as well as hard refresh and tried a different browser. I will note that I am running this as root as well when uploading. The links under "uploads" from the dashboard link the exact same as well. edit: Even if I leave all the domains portion commented out it will still host the image but still have the same problem as far as the actual link destination |
The If config sample from above ( Aside from the bad, prone to such errors, design of the application, the problem is with your forwarding software / other configuration. |
The whole resolving should be on the nginx part anyway. Theres nearly no reason to have what the current design is, because as you mentioned it's prone to errors. |
This release makes it possible to choose between node and nginx to serve files. If you want simplicity and your files at the root of your domain, set |
So first of all, you have a great site. Much cleaner and nicer than pomf.
I've had some trouble installing it. I'm relatively new to server stuff. I seem to have everything working fine http://i.idgaf.fyi/ apart from when i upload, my links come out as http://i.idgaf.fyi/i.idgaf.fyi/ke3mHtZLQy8KIqsTjyGlAFz6oV4Z818i.jpg rather than http://i.idgaf.fyi/ke3mHtZLQy8KIqsTjyGlAFz6oV4Z818i.jpg
Know where I went wrong?
thank you for your time ><
The text was updated successfully, but these errors were encountered: